Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,11 +11,11 @@ from io import BytesIO
|
|
| 11 |
pipepline=pipeline(task='Churn_prediction',model="lr_smote_model")
|
| 12 |
|
| 13 |
|
| 14 |
-
#num_imputer = joblib.load('
|
| 15 |
-
#cat_imputer = joblib.load('
|
| 16 |
-
#encoder = joblib.load('
|
| 17 |
-
#scaler = joblib.load('
|
| 18 |
-
#lr_model = joblib.load('
|
| 19 |
|
| 20 |
|
| 21 |
def preprocess_input(input_data):
|
|
|
|
| 11 |
pipepline=pipeline(task='Churn_prediction',model="lr_smote_model")
|
| 12 |
|
| 13 |
|
| 14 |
+
#num_imputer = joblib.load('C:/Users/user/Desktop/AZUBI AFRICA/SecondPhase/Churn_Prediction_ML/Capstone_Churn_Prediction/models/numerical_imputer.joblib')
|
| 15 |
+
#cat_imputer = joblib.load('C:/Users/user/Desktop/AZUBI AFRICA/SecondPhase/Churn_Prediction_ML/Capstone_Churn_Prediction/models/cat_imputer.joblib')
|
| 16 |
+
#encoder = joblib.load('C:/Users/user/Desktop/AZUBI AFRICA/SecondPhase/Churn_Prediction_ML/Capstone_Churn_Prediction/models/encoder.joblib')
|
| 17 |
+
#scaler = joblib.load('C:/Users/user/Desktop/AZUBI AFRICA/SecondPhase/Churn_Prediction_ML/Capstone_Churn_Prediction/models/scaler.joblib')
|
| 18 |
+
#lr_model = joblib.load('C:/Users/user/Desktop/AZUBI AFRICA/SecondPhase/Churn_Prediction_ML/Capstone_Churn_Prediction/models/lr_smote_model.joblib')
|
| 19 |
|
| 20 |
|
| 21 |
def preprocess_input(input_data):
|