webapp-factory-any-model / package.json
jbilcke-hf's picture
jbilcke-hf HF staff
ok, let's use any model from the HF Inference API
d388d3b
raw
history blame contribute delete
745 Bytes
{
"name": "webapp-factory-any-model",
"version": "1.0.0",
"description": "A basic demo of generating HTML content using the Hugging Face Inference API. Designed to run in a Hugging Face space.",
"main": "src/index.mts",
"scripts": {
"start": "node --loader ts-node/esm src/index.mts",
"docker": "npm run docker:build && npm run docker:run",
"docker:build": "docker build -t webapp-factory-any-model .",
"docker:run": "docker run -it -p 7860:7860 webapp-factory-any-model"
},
"author": "Julian Bilcke <[email protected]>",
"license": "Apache License",
"dependencies": {
"@huggingface/inference": "^2.5.2",
"@types/express": "^4.17.17",
"express": "^4.18.2",
"ts-node": "^10.9.1"
}
}