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