Spaces:
Running on Zero
Running on Zero
Download hackatum/paths.py from Spatenfe/Animal_Transltor: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/Spatenfe/Animal_Transltor/resolve/main/hackatum/paths.py
- Command line
-
hf download hf://spaces/Spatenfe/Animal_Transltor/hackatum/paths.py
-
curl -L -o paths.py https://huggingface.co/spaces/Spatenfe/Animal_Transltor/resolve/main/hackatum/paths.py
246 Bytes
| """Stand-in for src/hackatum/paths.py in the Space: model weights live under $HK_MODELS (assets/models).""" | |
| import os | |
| from pathlib import Path | |
| MODELS = Path(os.environ.get("HK_MODELS", Path(__file__).resolve().parents[1] / "assets" / "models")) | |