Spaces:
Sleeping
Sleeping
housekeeping
Browse files- App/drug_app.py +1 -1
App/drug_app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import skops.io as sio
|
3 |
|
4 |
-
|
5 |
|
6 |
|
7 |
def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|
|
|
1 |
import gradio as gr
|
2 |
import skops.io as sio
|
3 |
|
4 |
+
pipe = sio.load("Model/drug_pipeline.skops", trusted=sio.get_untrusted_types(file = "Model/drug_pipeline.skops"))
|
5 |
|
6 |
|
7 |
def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|