HOLYBOY commited on
Commit
88cbe43
·
1 Parent(s): d02e72c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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('https://huggingface.co/HOLYBOY/LogisticRegression/blob/main/numerical_imputer.joblib')
15
- #cat_imputer = joblib.load('https://huggingface.co/HOLYBOY/LogisticRegression/blob/main/cat_imputer.joblib')
16
- #encoder = joblib.load('https://huggingface.co/HOLYBOY/LogisticRegression/blob/main/encoder.joblib')
17
- #scaler = joblib.load('https://huggingface.co/HOLYBOY/LogisticRegression/blob/main/scaler.joblib')
18
- #lr_model = joblib.load('https://huggingface.co/HOLYBOY/LogisticRegression/blob/main/lr_smote_model.joblib')
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):