Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
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="docster99/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="docster99/churn-model", filename="best_churn_model.joblib")
|
| 8 |
|
| 9 |
# Load the model
|
| 10 |
model = joblib.load(model_path)
|