File size: 745 Bytes
c4480fd
d388d3b
c4480fd
 
 
 
 
 
d388d3b
 
c4480fd
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "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 <julian.bilcke@huggingface.co>",
  "license": "Apache License",
  "dependencies": {
    "@huggingface/inference": "^2.5.2",
    "@types/express": "^4.17.17",
    "express": "^4.18.2",
    "ts-node": "^10.9.1"
  }
}