Update app.py
Browse files
app.py
CHANGED
|
@@ -11,9 +11,9 @@ weights = {
|
|
| 11 |
|
| 12 |
# --- Given model paths (place models in the same directory as app.py for HF Spaces) ---
|
| 13 |
model_paths = {
|
| 14 |
-
"GradientBoosting": "GradientBoosting_model.pkl",
|
| 15 |
-
"RandomForest": "RandomForest_model.pkl",
|
| 16 |
-
"XGBoost": "xgb_model.pkl"
|
| 17 |
}
|
| 18 |
|
| 19 |
# --- Load models ---
|
|
|
|
| 11 |
|
| 12 |
# --- Given model paths (place models in the same directory as app.py for HF Spaces) ---
|
| 13 |
model_paths = {
|
| 14 |
+
"GradientBoosting": "main/GradientBoosting_model.pkl",
|
| 15 |
+
"RandomForest": "main/RandomForest_model.pkl",
|
| 16 |
+
"XGBoost": "main/xgb_model.pkl"
|
| 17 |
}
|
| 18 |
|
| 19 |
# --- Load models ---
|