Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -7,8 +7,8 @@ import joblib
|
|
7 |
|
8 |
|
9 |
# Load your trained model and encoders
|
10 |
-
xgb_model = joblib.load("xgb_model.joblib")
|
11 |
-
encoders = joblib.load("encoders.joblib")
|
12 |
|
13 |
# Function to handle unseen labels during encoding
|
14 |
def safe_transform(encoder, column):
|
|
|
7 |
|
8 |
|
9 |
# Load your trained model and encoders
|
10 |
+
xgb_model = joblib.load("model/xgb_model.joblib")
|
11 |
+
encoders = joblib.load("model/encoders.joblib")
|
12 |
|
13 |
# Function to handle unseen labels during encoding
|
14 |
def safe_transform(encoder, column):
|