sylvain471 commited on
Commit
25a5502
1 Parent(s): 6e6f8a5

Update drug_app.py

Browse files
Files changed (1) hide show
  1. 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("../Model/drug_pipeline.skops",trusted = ['numpy.dtype'])
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):