GDMProjects commited on
Commit
9d44134
·
verified ·
1 Parent(s): 1234dbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def _get_pos_index_and_classes(pipe, pos_label=1):
127
 
128
  # ---------- model & samples ----------
129
  local_path = hf_hub_download(repo_id=REPO, filename=FNAME, token=TOKEN)
130
- model = load_model(local_path)
131
  samples_df = load_samples()
132
 
133
  # ---------- SHAP: background + explainer (built once) ----------
 
127
 
128
  # ---------- model & samples ----------
129
  local_path = hf_hub_download(repo_id=REPO, filename=FNAME, token=TOKEN)
130
+ model = load_model(str(Path(local_path).with_suffix("")))
131
  samples_df = load_samples()
132
 
133
  # ---------- SHAP: background + explainer (built once) ----------