sunbal7 commited on
Commit
d817377
·
verified ·
1 Parent(s): 7496748

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def load_models():
113
 
114
  # Try to load heart disease model
115
  try:
116
- heart_model = joblib.load('heart_disease_model.pkl')
117
  models['heart'] = heart_model
118
  except:
119
  st.error("❌ Heart disease model not found. Please ensure 'heart_disease_model.pkl' is in the directory.")
 
113
 
114
  # Try to load heart disease model
115
  try:
116
+ heart_model = joblib.load('heart_model.pkl')
117
  models['heart'] = heart_model
118
  except:
119
  st.error("❌ Heart disease model not found. Please ensure 'heart_disease_model.pkl' is in the directory.")