Download src/softasp/configuration.py from wabdalm/AS2: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/wabdalm/AS2/resolve/main/src/softasp/configuration.py
- Command line
-
hf download hf://wabdalm/AS2/src/softasp/configuration.py
-
curl -L -o configuration.py https://huggingface.co/wabdalm/AS2/resolve/main/src/softasp/configuration.py
305 Bytes
| """Locate Hydra resources in a source checkout or installed wheel.""" | |
| from pathlib import Path | |
| def config_directory() -> str: | |
| source = Path(__file__).resolve().parents[2] / "configs" | |
| packaged = Path(__file__).resolve().parent / "configs" | |
| return str(source if source.is_dir() else packaged) | |