Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ def load_model():
|
|
13 |
"""
|
14 |
try:
|
15 |
# Load the pre-trained model from a pickle file
|
16 |
-
|
17 |
-
model = joblib.load(f)
|
18 |
return model
|
19 |
except FileNotFoundError:
|
20 |
st.error("The model file 'voting_classifier_model.pkl' was not found.")
|
|
|
13 |
"""
|
14 |
try:
|
15 |
# Load the pre-trained model from a pickle file
|
16 |
+
model = joblib.load('voting_classifier_model_1.pkl')
|
|
|
17 |
return model
|
18 |
except FileNotFoundError:
|
19 |
st.error("The model file 'voting_classifier_model.pkl' was not found.")
|