rasmodev commited on
Commit
399e950
1 Parent(s): a0173bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -88,28 +88,28 @@ def main():
88
  # Display characteristic-based recommendations
89
  st.subheader("Suggestions for retaining the employee:")
90
  if job_satisfaction == 1 or environment_satisfaction == 1:
91
- st.write("Enhance job and environment satisfaction through initiatives such as recognition programs and improving workplace conditions.")
92
  if years_since_last_promotion > 5:
93
- st.write("Implement a transparent promotion policy and provide opportunities for career advancement.")
94
  if years_with_curr_manager > 5:
95
- st.write("Offer opportunities for a change in reporting structure to prevent stagnation and promote growth.")
96
  if percent_salary_hike < 5:
97
- st.write("Consider adjusting salary and benefits packages to remain competitive and reward employee loyalty.")
98
  if training_times_last_year < 2:
99
- st.write("Invest in employee development through training programs and continuous learning opportunities.")
100
  if over_time:
101
- st.write("Evaluate workload distribution and consider implementing measures to prevent overwork, such as workload balancing and flexible scheduling.")
102
  if relationship_satisfaction == 1:
103
- st.write("Foster positive relationships and a supportive work environment through team-building activities and open communication channels.")
104
  if monthly_income < 5000:
105
- st.write("Review compensation structures and adjust salaries to align with industry standards and employee expectations.")
106
  if num_companies_worked > 5:
107
- st.write("Identify reasons for high turnover and address issues related to job stability, career progression, and organizational culture.")
108
  if work_life_balance == 1:
109
- st.write("Promote work-life balance initiatives, such as flexible work arrangements and wellness programs, to support employee well-being.")
110
-
111
  # General recommendation for all negative predictions
112
- st.write("Conduct exit interviews to gather feedback and identify areas for improvement in retention strategies.")
113
 
114
  if __name__ == "__main__":
115
  main()
 
88
  # Display characteristic-based recommendations
89
  st.subheader("Suggestions for retaining the employee:")
90
  if job_satisfaction == 1 or environment_satisfaction == 1:
91
+ st.markdown("- Enhance job and environment satisfaction through initiatives such as recognition programs and improving workplace conditions.")
92
  if years_since_last_promotion > 5:
93
+ st.markdown("- Implement a transparent promotion policy and provide opportunities for career advancement.")
94
  if years_with_curr_manager > 5:
95
+ st.markdown("- Offer opportunities for a change in reporting structure to prevent stagnation and promote growth.")
96
  if percent_salary_hike < 5:
97
+ st.markdown("- Consider adjusting salary and benefits packages to remain competitive and reward employee loyalty.")
98
  if training_times_last_year < 2:
99
+ st.markdown("- Invest in employee development through training programs and continuous learning opportunities.")
100
  if over_time:
101
+ st.markdown("- Evaluate workload distribution and consider implementing measures to prevent overwork, such as workload balancing and flexible scheduling.")
102
  if relationship_satisfaction == 1:
103
+ st.markdown("- Foster positive relationships and a supportive work environment through team-building activities and open communication channels.")
104
  if monthly_income < 5000:
105
+ st.markdown("- Review compensation structures and adjust salaries to align with industry standards and employee expectations.")
106
  if num_companies_worked > 5:
107
+ st.markdown("- Identify reasons for high turnover and address issues related to job stability, career progression, and organizational culture.")
108
  if work_life_balance == 1:
109
+ st.markdown("- Promote work-life balance initiatives, such as flexible work arrangements and wellness programs, to support employee well-being.")
110
+
111
  # General recommendation for all negative predictions
112
+ st.markdown("- Conduct exit interviews to gather feedback and identify areas for improvement in retention strategies.")
113
 
114
  if __name__ == "__main__":
115
  main()