Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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'
|