rajeshradhakrishnan commited on
Commit
fda8f66
1 Parent(s): 7f2753c

English-Malayalam Translate v4

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -11,4 +11,5 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . .
13
 
14
- CMD ["uvicorn", "translate:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
11
 
12
  COPY . .
13
 
14
+ CMD gunicorn --bind 0.0.0.0:7860 translate:app
15
+ #CMD ["uvicorn", "translate:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt CHANGED
@@ -4,4 +4,4 @@ sentencepiece
4
  flask
5
  flask_restful
6
  flask-cors
7
- uvicorn
 
4
  flask
5
  flask_restful
6
  flask-cors
7
+ gunicorn==20.1.0