Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ with col3:
|
|
| 88 |
if st.button("Predict"):
|
| 89 |
# Create a dictionary of user input
|
| 90 |
user_input = {
|
| 91 |
-
"age": age,
|
| 92 |
"gender": gender,
|
| 93 |
"education": education,
|
| 94 |
"worker_class": worker_class,
|
|
|
|
| 88 |
if st.button("Predict"):
|
| 89 |
# Create a dictionary of user input
|
| 90 |
user_input = {
|
| 91 |
+
"age": int(age),
|
| 92 |
"gender": gender,
|
| 93 |
"education": education,
|
| 94 |
"worker_class": worker_class,
|