Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,8 +62,8 @@ def main():
|
|
62 |
"native.country": [native_country]}))
|
63 |
# Show prediction
|
64 |
result = '>50K' if result[0] == 1 else '<=50K'
|
65 |
-
st.success("Your predicted income is "
|
66 |
|
67 |
# Run main()
|
68 |
-
|
69 |
-
|
|
|
62 |
"native.country": [native_country]}))
|
63 |
# Show prediction
|
64 |
result = '>50K' if result[0] == 1 else '<=50K'
|
65 |
+
st.success("Your predicted income is "มresult)
|
66 |
|
67 |
# Run main()
|
68 |
+
if __name__ == "__main__":
|
69 |
+
main()
|