Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -1
src/streamlit_app.py
CHANGED
|
@@ -48,7 +48,6 @@ def get_preprocess(backbone: str):
|
|
| 48 |
def load_artifacts(model_key: str):
|
| 49 |
stem = MODEL_CONFIG[model_key]["stem"]
|
| 50 |
models_dir = ROOT
|
| 51 |
-
f"{models_dir}"
|
| 52 |
for ext in (".h5", ".keras"):
|
| 53 |
path = models_dir / f"{stem}{ext}"
|
| 54 |
if path.is_file():
|
|
|
|
| 48 |
def load_artifacts(model_key: str):
|
| 49 |
stem = MODEL_CONFIG[model_key]["stem"]
|
| 50 |
models_dir = ROOT
|
|
|
|
| 51 |
for ext in (".h5", ".keras"):
|
| 52 |
path = models_dir / f"{stem}{ext}"
|
| 53 |
if path.is_file():
|