Update prediction.py
Browse files- prediction.py +1 -1
prediction.py
CHANGED
@@ -57,7 +57,7 @@ def run():
|
|
57 |
if submitted:
|
58 |
y_pred_inf = model.predict(df)
|
59 |
if y_pred_inf[0] == 0:
|
60 |
-
st.
|
61 |
else:
|
62 |
st.write('~ This Customer is Predicted to Churn ~')
|
63 |
|
|
|
57 |
if submitted:
|
58 |
y_pred_inf = model.predict(df)
|
59 |
if y_pred_inf[0] == 0:
|
60 |
+
st.write('~ This Customer is Predicted Not to Churn ~')
|
61 |
else:
|
62 |
st.write('~ This Customer is Predicted to Churn ~')
|
63 |
|