Gyimah3 commited on
Commit
faacc36
·
1 Parent(s): ec08c27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -214,6 +214,7 @@ if submitted:
214
  st.markdown('''---''')
215
  st.markdown("<h4 style='text-align: center;'> Prediction Results </h4> ", unsafe_allow_html=True)
216
  st.success(f"Prediction: {output}")
 
217
  st.success(f"Confidence Probability: {prob_output}")
218
  st.markdown('''---''')
219
 
 
214
  st.markdown('''---''')
215
  st.markdown("<h4 style='text-align: center;'> Prediction Results </h4> ", unsafe_allow_html=True)
216
  st.success(f"Prediction: {output}")
217
+ st.success('**Probablity of Person not churning is ( in % )**:',prediction_proba[0][0]*100)
218
  st.success(f"Confidence Probability: {prob_output}")
219
  st.markdown('''---''')
220