sunil18p31a0101 commited on
Commit
883ce52
·
verified ·
1 Parent(s): 7b18cbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def predict_hemoglobin(age, gender, image):
110
  features_df = pd.DataFrame([features])
111
 
112
  # Load the trained model, scaler, and label encoder
113
- svr_model = joblib.load('svr_model(1).pkl') # Replace with the actual path to your model file
114
  scaler = joblib.load('minmax_scaler.pkl') # Replace with the actual path to your scaler file
115
 
116
  # Ensure that features_df matches the expected training feature set (without 'Hgb')
 
110
  features_df = pd.DataFrame([features])
111
 
112
  # Load the trained model, scaler, and label encoder
113
+ svr_model = joblib.load('svr_model (1).pkl') # Replace with the actual path to your model file
114
  scaler = joblib.load('minmax_scaler.pkl') # Replace with the actual path to your scaler file
115
 
116
  # Ensure that features_df matches the expected training feature set (without 'Hgb')