pattawat commited on
Commit
bfda294
·
1 Parent(s): 6cbd439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def main():
48
  hours_per_week =st.slider("Hours per week",min_value = 1 , max_value=100)
49
  native_country =st.selectbox("Native country", options = unique_country)
50
 
51
- # clicked==True only when the button is clicked
52
  clicked = st.form_submit_button("Predict income")
53
  if clicked:
54
  result=model.predict(pd.DataFrame({"age": [age],
 
48
  hours_per_week =st.slider("Hours per week",min_value = 1 , max_value=100)
49
  native_country =st.selectbox("Native country", options = unique_country)
50
 
51
+ # clicked==True only when the button is clicke
52
  clicked = st.form_submit_button("Predict income")
53
  if clicked:
54
  result=model.predict(pd.DataFrame({"age": [age],