Spaces:
Runtime error
Runtime error
Commit
·
8aaba64
1
Parent(s):
77cf1b5
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def main():
|
|
| 47 |
"work_type": [work_type],
|
| 48 |
"Residence_type": [Residence_type],
|
| 49 |
"avg_glucose_level":[avg_glucose_level],
|
| 50 |
-
"bmi"
|
| 51 |
"smoking_status":[smoking_status]}))
|
| 52 |
# Show prediction
|
| 53 |
result = 'You may not have a stroke' if result[0] == 1 else 'You may have a stroke'
|
|
|
|
| 47 |
"work_type": [work_type],
|
| 48 |
"Residence_type": [Residence_type],
|
| 49 |
"avg_glucose_level":[avg_glucose_level],
|
| 50 |
+
"bmi":[bmi],
|
| 51 |
"smoking_status":[smoking_status]}))
|
| 52 |
# Show prediction
|
| 53 |
result = 'You may not have a stroke' if result[0] == 1 else 'You may have a stroke'
|