Update app.py
Browse files
app.py
CHANGED
|
@@ -21,17 +21,10 @@ st.markdown(
|
|
| 21 |
unsafe_allow_html=True
|
| 22 |
)
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
st.
|
| 26 |
-
f"""
|
| 27 |
-
<div style="text-align: center;">
|
| 28 |
-
<p>Welcome to the Employee Attrition Prediction App! π</p>
|
| 29 |
-
</div>
|
| 30 |
-
""",
|
| 31 |
-
unsafe_allow_html=True
|
| 32 |
-
)
|
| 33 |
|
| 34 |
-
#
|
| 35 |
st.markdown(
|
| 36 |
"""
|
| 37 |
**Employee attrition** refers to the phenomenon of employees leaving their jobs for various reasons. It's crucial for organizations to predict attrition to retain valuable talent.
|
|
@@ -43,9 +36,6 @@ st.markdown("π **Learn more about employee attrition from [Academy to Innovat
|
|
| 43 |
|
| 44 |
st.markdown("---")
|
| 45 |
|
| 46 |
-
# Main content
|
| 47 |
-
st.image("https://www.aihr.com/wp-content/uploads/Reasons-for-Employee-Attrition.png")
|
| 48 |
-
|
| 49 |
# Additional Information for Sample Prediction
|
| 50 |
st.write("π To make a sample prediction, you can refer to the training dataset information available in the sidebar or input the information of the employee whose attrition you want to predict.")
|
| 51 |
st.write("Please provide the following information to make a prediction:")
|
|
|
|
| 21 |
unsafe_allow_html=True
|
| 22 |
)
|
| 23 |
|
| 24 |
+
# Main content
|
| 25 |
+
st.image("https://www.aihr.com/wp-content/uploads/Reasons-for-Employee-Attrition.png")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
+
# Attrition Information
|
| 28 |
st.markdown(
|
| 29 |
"""
|
| 30 |
**Employee attrition** refers to the phenomenon of employees leaving their jobs for various reasons. It's crucial for organizations to predict attrition to retain valuable talent.
|
|
|
|
| 36 |
|
| 37 |
st.markdown("---")
|
| 38 |
|
|
|
|
|
|
|
|
|
|
| 39 |
# Additional Information for Sample Prediction
|
| 40 |
st.write("π To make a sample prediction, you can refer to the training dataset information available in the sidebar or input the information of the employee whose attrition you want to predict.")
|
| 41 |
st.write("Please provide the following information to make a prediction:")
|