Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from huggingface_hub import hf_hub_download
|
|
| 4 |
import joblib
|
| 5 |
|
| 6 |
# Download the model from the Model Hub
|
| 7 |
-
model_path = hf_hub_download(repo_id="RedRooster99/churn-model", filename="
|
| 8 |
|
| 9 |
# Load the model
|
| 10 |
model = joblib.load(model_path)
|
|
|
|
| 4 |
import joblib
|
| 5 |
|
| 6 |
# Download the model from the Model Hub
|
| 7 |
+
model_path = hf_hub_download(repo_id="RedRooster99/churn-model", filename="best_churn_model_v1.joblib")
|
| 8 |
|
| 9 |
# Load the model
|
| 10 |
model = joblib.load(model_path)
|
requirements.txt
CHANGED
|
@@ -4,3 +4,4 @@ streamlit==1.43.2
|
|
| 4 |
joblib==1.5.1
|
| 5 |
scikit-learn==1.6.0
|
| 6 |
xgboost==2.1.4
|
|
|
|
|
|
| 4 |
joblib==1.5.1
|
| 5 |
scikit-learn==1.6.0
|
| 6 |
xgboost==2.1.4
|
| 7 |
+
mlflow==3.0.1
|