Download engine/scripts/_bootstrap.py from YanAdjeNole/finreason-task3-development: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/YanAdjeNole/finreason-task3-development/resolve/main/engine/scripts/_bootstrap.py
- Command line
-
hf download hf://spaces/YanAdjeNole/finreason-task3-development/engine/scripts/_bootstrap.py
-
curl -L -o _bootstrap.py https://huggingface.co/spaces/YanAdjeNole/finreason-task3-development/resolve/main/engine/scripts/_bootstrap.py
221 Bytes
| """Make the repository root importable when scripts are run directly.""" | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parent.parent | |
| if str(ROOT) not in sys.path: | |
| sys.path.insert(0, str(ROOT)) | |