Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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]],
|