Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- 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 "
|
| 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.
|
| 97 |
|
| 98 |
# ------------------------------
|
| 99 |
# Prediction
|
|
|
|
| 93 |
}])
|
| 94 |
|
| 95 |
# Set the classification threshold
|
| 96 |
+
classification_threshold = 0.40
|
| 97 |
|
| 98 |
# ------------------------------
|
| 99 |
# Prediction
|