Update src/app.py
Browse files- src/app.py +2 -2
src/app.py
CHANGED
|
@@ -13,8 +13,8 @@ except Exception as e:
|
|
| 13 |
st.error(f"Model loading failed: {e}. Please retrain the model with XGBoost ≥1.7.")
|
| 14 |
st.stop()
|
| 15 |
|
| 16 |
-
x_num_scaler = joblib.load("src/
|
| 17 |
-
x_cat_encoder = joblib.load("src/
|
| 18 |
x_cat_ordinal_encoder = joblib.load("src/x_cat_ordinal_encoder_1.pkl")
|
| 19 |
|
| 20 |
# ----------------------------
|
|
|
|
| 13 |
st.error(f"Model loading failed: {e}. Please retrain the model with XGBoost ≥1.7.")
|
| 14 |
st.stop()
|
| 15 |
|
| 16 |
+
x_num_scaler = joblib.load("src/x_num_scaler_1.pkl")
|
| 17 |
+
x_cat_encoder = joblib.load("src/x_cat_encoder_1.pkl")
|
| 18 |
x_cat_ordinal_encoder = joblib.load("src/x_cat_ordinal_encoder_1.pkl")
|
| 19 |
|
| 20 |
# ----------------------------
|