kemalserkany commited on
Commit
275f9bd
·
verified ·
1 Parent(s): 59956f1

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -47,7 +47,7 @@ def get_preprocess(backbone: str):
47
  @st.cache_resource
48
  def load_artifacts(model_key: str):
49
  stem = MODEL_CONFIG[model_key]["stem"]
50
- models_dir = "src"
51
  for ext in (".h5", ".keras"):
52
  path = models_dir / f"{stem}{ext}"
53
  if path.is_file():
 
47
  @st.cache_resource
48
  def load_artifacts(model_key: str):
49
  stem = MODEL_CONFIG[model_key]["stem"]
50
+ models_dir = ROOT /"src"
51
  for ext in (".h5", ".keras"):
52
  path = models_dir / f"{stem}{ext}"
53
  if path.is_file():