NellCoriander commited on
Commit
f740f39
·
1 Parent(s): f8e5578

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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