kshipra-jadav commited on
Commit
590a7b1
·
1 Parent(s): 029be91

flask deply

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -1
Dockerfile CHANGED
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["gunicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
 
9
  COPY . .
10
 
11
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -57,4 +57,5 @@ zipp==3.17.0
57
  zopfli==0.2.3
58
  tensorflow
59
  tensorflow-addons
60
- tf2onnx
 
 
57
  zopfli==0.2.3
58
  tensorflow
59
  tensorflow-addons
60
+ tf2onnx
61
+ uvicorn