Spaces:
Build error
Build error
Commit ·
f740f39
1
Parent(s): f8e5578
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,6 @@ def main_func(age,sex,cp,trtbps,chol,fbs,restecg,thalachh,exng,oldpeak,slp,caa,t
|
|
| 19 |
'restecg':restecg,'thalachh':thalachh,'exng':exng,
|
| 20 |
'oldpeak':oldpeak,'slp':slp,'caa':caa,'thall':thall},
|
| 21 |
orient='index', columns=['value'])
|
| 22 |
-
new_row.index = pd.Index(['new_row'])
|
| 23 |
|
| 24 |
prob = loaded_model.predict_proba(new_row)
|
| 25 |
|
|
|
|
| 19 |
'restecg':restecg,'thalachh':thalachh,'exng':exng,
|
| 20 |
'oldpeak':oldpeak,'slp':slp,'caa':caa,'thall':thall},
|
| 21 |
orient='index', columns=['value'])
|
|
|
|
| 22 |
|
| 23 |
prob = loaded_model.predict_proba(new_row)
|
| 24 |
|