jarely commited on
Commit
386b855
1 Parent(s): ae8e6f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def biomass_prediction(pharm_type, temp, time, ps, bet, pv, c, h, n, o):
67
 
68
  # Load the trained model from the pickled file
69
  try:
70
- with open('best_params.pkl', 'rb') as file:
71
  loaded_model = pickle.load(file)
72
  except FileNotFoundError:
73
  return "Model file not found"
 
67
 
68
  # Load the trained model from the pickled file
69
  try:
70
+ with open('xgb_best_params.pkl', 'rb') as file:
71
  loaded_model = pickle.load(file)
72
  except FileNotFoundError:
73
  return "Model file not found"