FRANCKYPRO commited on
Commit
a9ce4ac
·
1 Parent(s): 5743da8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -510,9 +510,9 @@ try:
510
  st.write("la prédiction est : ", prediction )
511
 
512
  if prediction == 1:
513
- st.write("<h1 style='text-align:center;color: red;'>Individu à risque pour un crédit</h1>",unsafe_allow_html=True)
514
  else:
515
- st.write("<h1 style='text-align:center;color: green;'>Individu non à risque pour un crédit</h1>",unsafe_allow_html=True
516
 
517
  st.subheader('Prediction Probability')
518
  st.write(prediction_proba)
 
510
  st.write("la prédiction est : ", prediction )
511
 
512
  if prediction == 1:
513
+ st.subheaders("<h1 style='text-align:center;color: red;'>Individu à risque pour un crédit</h1>",unsafe_allow_html=True)
514
  else:
515
+ st.subheaders("<h1 style='text-align:center;color: green;'>Individu non à risque pour un crédit</h1>",unsafe_allow_html=True)
516
 
517
  st.subheader('Prediction Probability')
518
  st.write(prediction_proba)