sylvain471
commited on
Update drug_app.py
Browse files- drug_app.py +1 -1
drug_app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import skops.io as sio
|
3 |
|
4 |
#pipe = sio.load("./Model/drug_pipeline.skops", trusted=True)
|
5 |
-
pipe = sio.load("
|
6 |
|
7 |
|
8 |
def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|
|
|
2 |
import skops.io as sio
|
3 |
|
4 |
#pipe = sio.load("./Model/drug_pipeline.skops", trusted=True)
|
5 |
+
pipe = sio.load("./Model/drug_pipeline.skops",trusted = ['numpy.dtype'])
|
6 |
|
7 |
|
8 |
def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|