Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,10 @@ st.markdown("π **Learn more about employee attrition from [Academy to Innovat
|
|
37 |
|
38 |
st.markdown("---")
|
39 |
|
|
|
|
|
|
|
|
|
40 |
# Additional Information for Sample Prediction
|
41 |
st.write("π To make a prediction, input the information of the employee whose attrition you want to predict.")
|
42 |
st.write("Please provide the following information to make a prediction:")
|
@@ -91,7 +95,7 @@ def main():
|
|
91 |
years_with_curr_manager = st.number_input("Years With Current Manager")
|
92 |
|
93 |
# Predict button
|
94 |
-
if st.button("Predict
|
95 |
|
96 |
# Create a DataFrame to hold the user input data
|
97 |
input_data = pd.DataFrame({
|
|
|
37 |
|
38 |
st.markdown("---")
|
39 |
|
40 |
+
# Display an icon representing employee attrition
|
41 |
+
st.markdown('<i class="fas fa-user-slash"></i> Employee Attrition', unsafe_allow_html=True)
|
42 |
+
|
43 |
+
|
44 |
# Additional Information for Sample Prediction
|
45 |
st.write("π To make a prediction, input the information of the employee whose attrition you want to predict.")
|
46 |
st.write("Please provide the following information to make a prediction:")
|
|
|
95 |
years_with_curr_manager = st.number_input("Years With Current Manager")
|
96 |
|
97 |
# Predict button
|
98 |
+
if st.button("Predict Attrition π"):
|
99 |
|
100 |
# Create a DataFrame to hold the user input data
|
101 |
input_data = pd.DataFrame({
|