Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def predict_churn(Data_Volume, On_Net, Orange,Tigo, Regularity, Freq_Top_Pack, R
|
|
66 |
# Make predictions
|
67 |
predictions = best_model.predict_proba(preprocessed_data)
|
68 |
#print(predictions)
|
69 |
-
return round(predictions[0][0],
|
70 |
|
71 |
with gr.Blocks() as demo:
|
72 |
gr.Markdown('''
|
|
|
66 |
# Make predictions
|
67 |
predictions = best_model.predict_proba(preprocessed_data)
|
68 |
#print(predictions)
|
69 |
+
return round(predictions[0][0],2), round(predictions[0][1],2)
|
70 |
|
71 |
with gr.Blocks() as demo:
|
72 |
gr.Markdown('''
|