"""HF Spaces entry point. The demo lives in `deployment/gradio_app.py`; this shim exists because HF Spaces expects `app.py` at the repo root. Run locally with `python app.py` or `python deployment/gradio_app.py` — either path lands at the same `demo` object.""" from __future__ import annotations import os import sys ROOT = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.join(ROOT, "src")) sys.path.insert(0, os.path.join(ROOT, "deployment")) from gradio_app import demo # noqa: E402 if __name__ == "__main__": demo.launch()