Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from sklearn.preprocessing import StandardScaler, OneHotEncoder
|
|
9 |
from sklearn.linear_model import LogisticRegression
|
10 |
|
11 |
# Load the saved full pipeline from the file
|
12 |
-
full_pipeline = joblib.load('
|
13 |
|
14 |
# Define the predict function
|
15 |
def predict(gender, SeniorCitizen, Partner, Dependents, Contract, tenure, MonthlyCharges,
|
|
|
9 |
from sklearn.linear_model import LogisticRegression
|
10 |
|
11 |
# Load the saved full pipeline from the file
|
12 |
+
full_pipeline = joblib.load('pipe.pkl')
|
13 |
|
14 |
# Define the predict function
|
15 |
def predict(gender, SeniorCitizen, Partner, Dependents, Contract, tenure, MonthlyCharges,
|