Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -196,8 +196,8 @@ def predict(
|
|
196 |
|
197 |
try:
|
198 |
# Load your trained model and encoders
|
199 |
-
xgb_model = load('
|
200 |
-
encoders = load('
|
201 |
except:
|
202 |
return {"no model found so first trained the model using data fecther"}
|
203 |
|
|
|
196 |
|
197 |
try:
|
198 |
# Load your trained model and encoders
|
199 |
+
xgb_model = load('transexpress_xgb_model_v11.joblib')
|
200 |
+
encoders = load('transexpress_encoders_v11.joblib')
|
201 |
except:
|
202 |
return {"no model found so first trained the model using data fecther"}
|
203 |
|