Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def main():
|
|
60 |
"race": [race],
|
61 |
"sex": [sex],
|
62 |
"hours.per.week": [hours_per_week],
|
63 |
-
"native.country": [
|
64 |
# Show prediction
|
65 |
result ='>50k' if result[0]==1 else '<=50k'
|
66 |
st.success("Your prediction income is" +result)
|
|
|
60 |
"race": [race],
|
61 |
"sex": [sex],
|
62 |
"hours.per.week": [hours_per_week],
|
63 |
+
"native.country": [native_country]}))
|
64 |
# Show prediction
|
65 |
result ='>50k' if result[0]==1 else '<=50k'
|
66 |
st.success("Your prediction income is" +result)
|