Suratsada commited on
Commit
2d75eee
1 Parent(s): 36c99c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def main():
40
  "Commute Distance": [dist_dict[Commute_Distance]],
41
  "Age": [Age]}))
42
  # Show prediction
43
- if result == 1:
44
  i = 'Yes'
45
  else :
46
  i = 'No'
 
40
  "Commute Distance": [dist_dict[Commute_Distance]],
41
  "Age": [Age]}))
42
  # Show prediction
43
+ if result == [1]:
44
  i = 'Yes'
45
  else :
46
  i = 'No'