Spaces:
Running
Running
Download scripts/select_embedding_model.py from hbauzan/llm-semantic-visualizer: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/hbauzan/llm-semantic-visualizer/resolve/main/scripts/select_embedding_model.py
- Command line
-
hf download hf://spaces/hbauzan/llm-semantic-visualizer/scripts/select_embedding_model.py
-
curl -L -o select_embedding_model.py https://huggingface.co/spaces/hbauzan/llm-semantic-visualizer/resolve/main/scripts/select_embedding_model.py
371 Bytes
| #!/usr/bin/env python3 | |
| """CLI entry for setup.sh option 11 — see backend.model_swap.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| _ROOT = Path(__file__).resolve().parent.parent | |
| if str(_ROOT) not in sys.path: | |
| sys.path.insert(0, str(_ROOT)) | |
| from backend.model_swap import main | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |