Srisamorn commited on
Commit
8f821f9
·
1 Parent(s): 0128661

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,7 +62,7 @@ def main():
62
  "native.country": [native_country]}))
63
 
64
  # Show prediction
65
- result = '>50K' if result[0] == 1 else '<=50K'
66
- st.success("Your predicted income is "+result)
67
  if __name__ == "__main__":
68
  main()
 
62
  "native.country": [native_country]}))
63
 
64
  # Show prediction
65
+ result = '>50K' if result[0] == 1 else '<=50K'
66
+ st.success("Your predicted income is "+result)
67
  if __name__ == "__main__":
68
  main()