Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import pandas as pd
|
|
| 3 |
import pickle
|
| 4 |
import shap
|
| 5 |
|
| 6 |
-
# Load the saved model
|
| 7 |
with open('logistic_regression_model.pkl', 'rb') as model_file:
|
| 8 |
model = pickle.load(model_file)
|
| 9 |
|
|
|
|
| 3 |
import pickle
|
| 4 |
import shap
|
| 5 |
|
| 6 |
+
# Load the saved model and feature columns
|
| 7 |
with open('logistic_regression_model.pkl', 'rb') as model_file:
|
| 8 |
model = pickle.load(model_file)
|
| 9 |
|