rasmodev commited on
Commit
99b3ca1
Β·
verified Β·
1 Parent(s): ef5252c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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 Employee Attrition πŸ“Š"):
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({