Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
152 |
-
|
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
|