dadn commited on
Commit
c66205e
·
verified ·
1 Parent(s): 2410444

Update drug_app.py

Browse files

why does its not getting the folders?

Files changed (1) hide show
  1. drug_app.py +2 -2
drug_app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  import skops.io as sio
3
 
4
- trusted_types = sio.get_untrusted_types(file="Model/drug_pipeline.skops")
5
- pipe = sio.load("Model/drug_pipeline.skops", trusted=trusted_types)
6
 
7
  def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
8
  """Predict drugs based on patient features.
 
1
  import gradio as gr
2
  import skops.io as sio
3
 
4
+ trusted_types = sio.get_untrusted_types(file="drug_pipeline.skops")
5
+ pipe = sio.load("drug_pipeline.skops", trusted=trusted_types)
6
 
7
  def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
8
  """Predict drugs based on patient features.