subratm62 commited on
Commit
7864826
·
verified ·
1 Parent(s): 81a16d3

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -19,5 +19,5 @@ WORKDIR $HOME/app
19
 
20
  COPY --chown=user . $HOME/app
21
 
22
- # Define the command to run the Streamlit app on port "8500" and make it accessible externally
23
  CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
 
19
 
20
  COPY --chown=user . $HOME/app
21
 
22
+ # Define the command to run the Streamlit app on port "7860" and make it accessible externally
23
  CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
app.py CHANGED
@@ -93,7 +93,7 @@ input_data = pd.DataFrame([{
93
  }])
94
 
95
  # Set the classification threshold
96
- classification_threshold = 0.45
97
 
98
  # ------------------------------
99
  # Prediction
 
93
  }])
94
 
95
  # Set the classification threshold
96
+ classification_threshold = 0.40
97
 
98
  # ------------------------------
99
  # Prediction