pankaj goyal commited on
Commit
25bfc0c
·
1 Parent(s): 01fb2b2

initial commit

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -1
  2. main.py +1 -0
Dockerfile CHANGED
@@ -10,7 +10,6 @@ ENV HF_HOME=/code/cache/huggingface
10
  RUN mkdir -p /code/cache/huggingface && chmod -R 777 /code/cache/huggingface
11
 
12
  COPY . /app
13
-
14
  EXPOSE 7860
15
  # Increase Gunicorn timeout to prevent worker timeout during long initializations
16
  CMD ["gunicorn", "-b", "0.0.0.0:7862", "main:app", "--timeout", "120",]
 
10
  RUN mkdir -p /code/cache/huggingface && chmod -R 777 /code/cache/huggingface
11
 
12
  COPY . /app
 
13
  EXPOSE 7860
14
  # Increase Gunicorn timeout to prevent worker timeout during long initializations
15
  CMD ["gunicorn", "-b", "0.0.0.0:7862", "main:app", "--timeout", "120",]
main.py CHANGED
@@ -183,3 +183,4 @@ def classify():
183
 
184
  # if __name__ == '__main__':
185
  # app.run(debug=True)
 
 
183
 
184
  # if __name__ == '__main__':
185
  # app.run(debug=True)
186
+