llm-semantic-visualizer / scripts /select_embedding_model.py
hbauzan's picture
publish(hf): Space snapshot with injected README frontmatter
a847ac0
Raw History Blame Contribute Delete
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())