Spaces:
Running on Zero
Running on Zero
Download tests/conftest.py from AaronTekle/Agentic-MachineLearningEngineer: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/spaces/AaronTekle/Agentic-MachineLearningEngineer/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/AaronTekle/Agentic-MachineLearningEngineer/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/AaronTekle/Agentic-MachineLearningEngineer/resolve/main/tests/conftest.py
328 Bytes
| from pathlib import Path | |
| import sys | |
| ROOT = Path(__file__).resolve().parents[1] # project root directory two levels above this file | |
| if str(ROOT) not in sys.path: # making sure the project root is already in Python's module search path | |
| sys.path.insert(0, str(ROOT)) # adding the project root so local modules can be imported | |