Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def main():
|
|
| 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("
|
| 49 |
|
| 50 |
# clicked==True only when the button is clicked
|
| 51 |
clicked = st.form_submit_button("Predict income")
|
|
|
|
| 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("Native country" , options=unique_country)
|
| 49 |
|
| 50 |
# clicked==True only when the button is clicked
|
| 51 |
clicked = st.form_submit_button("Predict income")
|