Download demo/_bootstrap.py from marstin/VLM-Lens: direct link, hf CLI and curl.
- Browser
- Download file 159 Bytes
-
https://huggingface.co/spaces/marstin/VLM-Lens/resolve/main/demo/_bootstrap.py
- Command line
-
hf download hf://spaces/marstin/VLM-Lens/demo/_bootstrap.py
-
curl -L -o _bootstrap.py https://huggingface.co/spaces/marstin/VLM-Lens/resolve/main/demo/_bootstrap.py
159 Bytes
| import sys | |
| from pathlib import Path | |
| REPO_ROOT = Path(__file__).resolve().parents[1] | |
| if str(REPO_ROOT) not in sys.path: | |
| sys.path.insert(0, str(REPO_ROOT)) | |