Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def main():
|
|
62 |
"hours.per.week": [hours_per_week],
|
63 |
"native.country": [native_country]}))
|
64 |
# Show prediction
|
65 |
-
result = '>50K' if result[0] == 1 else '
|
66 |
st.success("Your prediction income is ", result)
|
67 |
|
68 |
# Run main()
|
|
|
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)
|
67 |
|
68 |
# Run main()
|