Neurolingua commited on
Commit
9d3d643
·
verified ·
1 Parent(s): 81fa99e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -147,11 +147,10 @@ FROM_PHONE = '+12708175529'
147
  TO_PHONE = '+916382792828'
148
  import numpy as np
149
  import joblib
 
150
 
151
- # Load the saved Gradient Boosting model
152
- import pickle
153
- with open('dlmodel.pkl', 'rb') as f:
154
- loaded_model = pickle.load(f)
155
  def predict_conc(pdiff):
156
  if pdiff>3.19:
157
  return 0
 
147
  TO_PHONE = '+916382792828'
148
  import numpy as np
149
  import joblib
150
+ # Save model using joblib
151
 
152
+ # Load model using joblib
153
+ loaded_model = joblib.load('model.joblib')
 
 
154
  def predict_conc(pdiff):
155
  if pdiff>3.19:
156
  return 0