rasmodev commited on
Commit
bbe236d
1 Parent(s): f9d5aed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -131,7 +131,7 @@ def main():
131
  # Column 1
132
  with col1:
133
  age = st.number_input("Age", min_value=18, max_value=70)
134
- monthly_income = st.number_input("Monthly Income")
135
  num_companies_worked = st.number_input("Number of Companies Worked")
136
  percent_salary_hike = st.number_input("Percent Salary Hike", min_value=10, max_value=25)
137
  training_times_last_year = st.number_input("Training Times Last Year", min_value=0, max_value=6)
@@ -195,5 +195,4 @@ def main():
195
  st.write(f"Probability of Attrition: {probability[0]*100:.2f}%")
196
 
197
  if __name__ == "__main__":
198
- main()
199
-
 
131
  # Column 1
132
  with col1:
133
  age = st.number_input("Age", min_value=18, max_value=70)
134
+ monthly_income = st.number_input("Monthly Income", min_value=1000, max_value=20000)
135
  num_companies_worked = st.number_input("Number of Companies Worked")
136
  percent_salary_hike = st.number_input("Percent Salary Hike", min_value=10, max_value=25)
137
  training_times_last_year = st.number_input("Training Times Last Year", min_value=0, max_value=6)
 
195
  st.write(f"Probability of Attrition: {probability[0]*100:.2f}%")
196
 
197
  if __name__ == "__main__":
198
+ main()