rasmodev commited on
Commit
9fd3fc1
Β·
verified Β·
1 Parent(s): e14aff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -147,7 +147,8 @@ def main():
147
  # Display prediction probability
148
  if prediction[0] == 1:
149
  st.subheader("Prediction Probability πŸ“ˆ")
150
- st.write(f"The probability of the employee leaving the organization is: {probability[0]*100:.2f}%")
 
151
 
152
  # Display characteristic-based recommendations
153
  st.subheader("Recommendations for Retaining The Employee πŸ’‘:")
 
147
  # Display prediction probability
148
  if prediction[0] == 1:
149
  st.subheader("Prediction Probability πŸ“ˆ")
150
+ st.write(f"The probability of the employee leaving is: <span style='color:red; font-weight:bold;'>{probability[0]*100:.2f}%</span>", unsafe_allow_html=True)
151
+
152
 
153
  # Display characteristic-based recommendations
154
  st.subheader("Recommendations for Retaining The Employee πŸ’‘:")