Download tests/__init__.py from Rulga/Doc-chat: direct link, hf CLI and curl.
- Browser
- Download file 184 Bytes
-
https://huggingface.co/spaces/Rulga/Doc-chat/resolve/main/tests/__init__.py
- Command line
-
hf download hf://spaces/Rulga/Doc-chat/tests/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Rulga/Doc-chat/resolve/main/tests/__init__.py
184 Bytes
| import os | |
| import sys | |
| # Add project root to Python path for imports in tests | |
| project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
| sys.path.insert(0, project_root) |