Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -70,9 +70,9 @@ if st.button('Predict'):
|
|
70 |
prediction = model.predict(data).tolist()[0]
|
71 |
|
72 |
if prediction == 1:
|
73 |
-
prediction = '
|
74 |
else:
|
75 |
-
prediction = 'Not
|
76 |
|
77 |
st.write('The Prediction is: ')
|
78 |
st.write(prediction)
|
|
|
70 |
prediction = model.predict(data).tolist()[0]
|
71 |
|
72 |
if prediction == 1:
|
73 |
+
prediction = 'Churn'
|
74 |
else:
|
75 |
+
prediction = 'Not Churn'
|
76 |
|
77 |
st.write('The Prediction is: ')
|
78 |
st.write(prediction)
|