Filimize commited on
Commit
5dd0959
·
1 Parent(s): c5414fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def main():
44
  relationship = st.selectbox('relationship',options=unique_relationship)
45
  race = st.selectbox('race',options=unique_race)
46
  sex = st.selectbox('sex',options=unique_sex)
47
- hours_per_week = ('hours_per_week',min_value=1,max_value=100)
48
  native_country = st.selectbox('country',options=unique_marital_country)
49
 
50
  # clicked==True only when the button is clicked
 
44
  relationship = st.selectbox('relationship',options=unique_relationship)
45
  race = st.selectbox('race',options=unique_race)
46
  sex = st.selectbox('sex',options=unique_sex)
47
+ hours_per_week = st.slider('hours_per_week',min_value=1,max_value=100)
48
  native_country = st.selectbox('country',options=unique_marital_country)
49
 
50
  # clicked==True only when the button is clicked