Download tests/conftest.py from DILEEPJAAT/caption_subtitle_generator: direct link, hf CLI and curl.
- Browser
- Download file 168 Bytes
-
https://huggingface.co/spaces/DILEEPJAAT/caption_subtitle_generator/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/DILEEPJAAT/caption_subtitle_generator/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/DILEEPJAAT/caption_subtitle_generator/resolve/main/tests/conftest.py
168 Bytes
| from pathlib import Path | |
| import sys | |
| PROJECT_ROOT = Path(__file__).resolve().parents[1] | |
| if str(PROJECT_ROOT) not in sys.path: | |
| sys.path.insert(0, str(PROJECT_ROOT)) | |