File size: 335 Bytes
6c3043e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """Hugging Face Space entrypoint: run from repo root (agent-threat-map/)."""
from __future__ import annotations
import sys
from pathlib import Path
_ROOT = Path(__file__).resolve().parent
if str(_ROOT) not in sys.path:
sys.path.insert(0, str(_ROOT))
from ui.gradio_app import demo
if __name__ == "__main__":
demo.launch()
|