WinterGYC commited on
Commit
770acb9
1 Parent(s): 163afc3
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +0 -2
Dockerfile CHANGED
@@ -13,4 +13,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
  COPY . .
15
 
16
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
13
 
14
  COPY . .
15
 
16
+ CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]
requirements.txt CHANGED
@@ -4,5 +4,3 @@ cpm_kernels
4
  sentencepiece
5
  streamlit
6
  transformers_stream_generator
7
- uvicorn
8
-
 
4
  sentencepiece
5
  streamlit
6
  transformers_stream_generator