absethi1894 commited on
Commit
cebcadb
·
verified ·
1 Parent(s): 850f575

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +2 -3
Dockerfile CHANGED
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  EXPOSE 7860
10
 
11
- CMD ["python", "app.py"]
 
8
 
9
  EXPOSE 7860
10
 
11
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.enableCORS=true", "--server.enableXsrfProtection=false", "--server.headless=true"]
requirements.txt CHANGED
@@ -1,6 +1,5 @@
1
-
2
- flask==2.3.2
3
  pandas==2.2.1
 
4
  scikit-learn==1.4.2
5
  numpy==1.26.4
6
- joblib==1.4.2
 
1
+ streamlit==1.35.0
 
2
  pandas==2.2.1
3
+ joblib==1.4.2
4
  scikit-learn==1.4.2
5
  numpy==1.26.4