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