Spaces:
Sleeping
Sleeping
Download tests/conftest.py from andychoo98/WQF7002-Assignment1: direct link, hf CLI and curl.
- Browser
- Download file 145 Bytes
-
https://huggingface.co/spaces/andychoo98/WQF7002-Assignment1/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/andychoo98/WQF7002-Assignment1/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/andychoo98/WQF7002-Assignment1/resolve/main/tests/conftest.py
145 Bytes
| import os | |
| import sys | |
| from pathlib import Path | |
| os.environ['LLM_BACKEND'] = 'hf_api' | |
| sys.path.insert(0, str(Path(__file__).resolve().parents[1])) | |