Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,14 @@ import time
|
|
8 |
import matplotlib.pyplot as plt
|
9 |
from io import BytesIO
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
16 |
|
17 |
|
18 |
def preprocess_input(input_data):
|
|
|
8 |
import matplotlib.pyplot as plt
|
9 |
from io import BytesIO
|
10 |
|
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):
|