rasmodev commited on
Commit
e14aff3
·
verified ·
1 Parent(s): 826bd0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,9 +140,9 @@ def main():
140
  # Display predicted attrition status
141
  st.subheader("Predicted Attrition Status 🎯")
142
  if prediction[0] == 1:
143
- st.error("at higher risk of leaving the organization")
144
  else:
145
- st.success("Employee is predicted to stay in the organization")
146
 
147
  # Display prediction probability
148
  if prediction[0] == 1:
 
140
  # Display predicted attrition status
141
  st.subheader("Predicted Attrition Status 🎯")
142
  if prediction[0] == 1:
143
+ st.error("The employee is at higher risk of leaving the organization")
144
  else:
145
+ st.success("The employee is predicted to stay in the organization")
146
 
147
  # Display prediction probability
148
  if prediction[0] == 1: