TokenTutor commited on
Commit
0fa1b98
·
verified ·
1 Parent(s): 384b279

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -4
  2. requirements.txt +0 -1
Dockerfile CHANGED
@@ -8,9 +8,8 @@ WORKDIR /app
8
  COPY . .
9
 
10
  # Install Python dependencies listed in requirements.txt
11
- RUN pip3 install -r requirements.txt
12
 
13
- # Define the command to run the Streamlit app on port 8501 and make it accessible externally
14
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
15
 
16
- # NOTE: Disable XSRF protection for easier external access in order to make batch predictions
 
8
  COPY . .
9
 
10
  # Install Python dependencies listed in requirements.txt
11
+ RUN pip3 install --no-cache -r requirements.txt
12
 
13
+ # Define the command to run the Streamlit app on port 8502 and make it accessible externally
14
+ CMD ["streamlit", "run", "app.py", "--server.port=8502", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
15
 
 
requirements.txt CHANGED
@@ -3,5 +3,4 @@ numpy==2.0.2
3
  scikit-learn==1.6.1
4
  requests==2.28.1
5
  joblib==1.4.2
6
- xgboost==2.1.4
7
  streamlit==1.43.2
 
3
  scikit-learn==1.6.1
4
  requests==2.28.1
5
  joblib==1.4.2
 
6
  streamlit==1.43.2