Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ trusted_types = [
|
|
| 18 |
"sklearn.ensemble.RandomForestClassifier",
|
| 19 |
"numpy.dtype",
|
| 20 |
]
|
| 21 |
-
pipe = sio.load("
|
| 22 |
|
| 23 |
|
| 24 |
def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|
|
|
|
| 18 |
"sklearn.ensemble.RandomForestClassifier",
|
| 19 |
"numpy.dtype",
|
| 20 |
]
|
| 21 |
+
pipe = sio.load("drug_pipeline.skops", trusted=trusted_types)
|
| 22 |
|
| 23 |
|
| 24 |
def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|