Spaces:
Runtime error
Runtime error
Commit ·
a9ce4ac
1
Parent(s): 5743da8
Update app.py
Browse files
app.py
CHANGED
|
@@ -510,9 +510,9 @@ try:
|
|
| 510 |
st.write("la prédiction est : ", prediction )
|
| 511 |
|
| 512 |
if prediction == 1:
|
| 513 |
-
st.
|
| 514 |
else:
|
| 515 |
-
st.
|
| 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)
|