Download code/scripts/_bootstrap.py from frontal-labs/graph-reasoner-typed-compositional: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/frontal-labs/graph-reasoner-typed-compositional/resolve/main/code/scripts/_bootstrap.py
- Command line
-
hf download hf://frontal-labs/graph-reasoner-typed-compositional/code/scripts/_bootstrap.py
-
curl -L -o _bootstrap.py https://huggingface.co/frontal-labs/graph-reasoner-typed-compositional/resolve/main/code/scripts/_bootstrap.py
256 Bytes
| """Make repository scripts executable without requiring an editable install.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = str(Path(__file__).resolve().parents[1]) | |
| if ROOT not in sys.path: | |
| sys.path.insert(0, ROOT) | |