Chatop commited on
Commit
aa4722a
1 Parent(s): f41fb3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 0 '<=50k'
66
  st.success("Your predicted income is "+result)
67
 
68
  if __name__ == "__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 predicted income is "+result)
67
 
68
  if __name__ == "__main__":