Spaces:
Sleeping
Sleeping
Download tests/patch_view/conftest.py from benhong/blt-patch-view: direct link, hf CLI and curl.
- Browser
- Download file 144 Bytes
-
https://huggingface.co/spaces/benhong/blt-patch-view/resolve/main/tests/patch_view/conftest.py
- Command line
-
hf download hf://spaces/benhong/blt-patch-view/tests/patch_view/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/benhong/blt-patch-view/resolve/main/tests/patch_view/conftest.py
144 Bytes
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[4] | |
| if str(ROOT) not in sys.path: | |
| sys.path.insert(0, str(ROOT)) | |