vkrishnan569 commited on
Commit
ffc4e5d
·
1 Parent(s): 415b325

Server Deployment

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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", "-b", "0.0.0.0:7860","model:app"]
 
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