Spaces:
Runtime error
Runtime error
Update prediction.py
Browse files- prediction.py +2 -2
prediction.py
CHANGED
@@ -65,9 +65,9 @@ def run():
|
|
65 |
y_pred_inf = model_ann.predict(data_inf_transform)
|
66 |
|
67 |
if y_pred_inf >= 0.5:
|
68 |
-
st.write('##Customer will churn')
|
69 |
else :
|
70 |
-
st.write('##Customer will not churn')
|
71 |
|
72 |
if __name__=='__main__':
|
73 |
run()
|
|
|
65 |
y_pred_inf = model_ann.predict(data_inf_transform)
|
66 |
|
67 |
if y_pred_inf >= 0.5:
|
68 |
+
st.write('## Customer will churn')
|
69 |
else :
|
70 |
+
st.write('## Customer will not churn')
|
71 |
|
72 |
if __name__=='__main__':
|
73 |
run()
|