Download tests/conftest.py from PhonePixelGhost/Image_Classification_Service: direct link, hf CLI and curl.
- Browser
- Download file 142 Bytes
-
https://huggingface.co/spaces/PhonePixelGhost/Image_Classification_Service/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/PhonePixelGhost/Image_Classification_Service/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/PhonePixelGhost/Image_Classification_Service/resolve/main/tests/conftest.py
142 Bytes
| import sys | |
| import os | |
| # Add the project root to PYTHONPATH | |
| sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) | |