Spaces:
Sleeping
Sleeping
Commit
·
ffc4e5d
1
Parent(s):
415b325
Server Deployment
Browse files- Dockerfile +1 -1
- requirements.txt +4 -1
Dockerfile
CHANGED
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD ["uvicorn",
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
CMD ["uvicorn","main:model","--host", "0.0.0.0", "--port", "80"]
|
requirements.txt
CHANGED
@@ -10,4 +10,7 @@ MarkupSafe==2.1.5
|
|
10 |
numpy==1.26.4
|
11 |
typing_extensions==4.11.0
|
12 |
Werkzeug==3.0.3
|
13 |
-
huggingface_hub
|
|
|
|
|
|
|
|
10 |
numpy==1.26.4
|
11 |
typing_extensions==4.11.0
|
12 |
Werkzeug==3.0.3
|
13 |
+
huggingface_hub
|
14 |
+
fastapi
|
15 |
+
pydantic
|
16 |
+
uvicorn
|