PongsakornSET commited on
Commit
955f027
1 Parent(s): b4d7e26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,10 +60,10 @@ def main():
60
  "sex": [sex],
61
  "hours.per.week": [hours_per_week],
62
  "native.country": [native_country]}))
 
 
63
 
64
  if __name__=="__main__":
65
  main()
66
- # Show prediction
67
- result = ">50k" if result[0] == 1 else '<=50k'
68
- st.success("Your predicted income is "+result)
69
  # Run main()
 
60
  "sex": [sex],
61
  "hours.per.week": [hours_per_week],
62
  "native.country": [native_country]}))
63
+ result = ">50k" if result[0] == 1 else '<=50k'
64
+ st.success("Your predicted income is "+result)
65
 
66
  if __name__=="__main__":
67
  main()
68
+
 
 
69
  # Run main()