Update app.py
Browse files
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("
|
| 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:
|