sachin commited on
Commit
62a9d66
·
1 Parent(s): 97d748b

improve code

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -1
  2. requirements.txt +1 -0
Dockerfile CHANGED
@@ -6,6 +6,5 @@ COPY . .
6
  ENV HF_HOME=/data/huggingface
7
  # Expose port
8
  EXPOSE 7860
9
- RUN pip install tenacity
10
  # Start the server
11
  CMD ["python", "/app/src/server/main.py", "--host", "0.0.0.0", "--port", "7860", "--config", "config_two"]
 
6
  ENV HF_HOME=/data/huggingface
7
  # Expose port
8
  EXPOSE 7860
 
9
  # Start the server
10
  CMD ["python", "/app/src/server/main.py", "--host", "0.0.0.0", "--port", "7860", "--config", "config_two"]
requirements.txt CHANGED
@@ -10,6 +10,7 @@ slowapi
10
  python-multipart
11
  IndicTransToolkit @ git+https://github.com/VarunGumma/IndicTransToolkit.git@399b3fec93d2ee85cb998cb7a4fb7a7d83afcbcf
12
  packaging
 
13
 
14
  sentencepiece
15
  fastapi
 
10
  python-multipart
11
  IndicTransToolkit @ git+https://github.com/VarunGumma/IndicTransToolkit.git@399b3fec93d2ee85cb998cb7a4fb7a7d83afcbcf
12
  packaging
13
+ tenacity
14
 
15
  sentencepiece
16
  fastapi