yiw commited on
Commit
6489a79
·
1 Parent(s): d7576dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def main():
49
 
50
  # clicked==True only when the button is clicked
51
  clicked = st.form_submit_button("Predict income")
52
- if clicked:
53
  result=model.predict(pd.DataFrame({"age": [age],
54
  "workclass": [workclass],
55
  "education": [EDU_DICT[education]],
 
49
 
50
  # clicked==True only when the button is clicked
51
  clicked = st.form_submit_button("Predict income")
52
+ if clicked:
53
  result=model.predict(pd.DataFrame({"age": [age],
54
  "workclass": [workclass],
55
  "education": [EDU_DICT[education]],