from __future__ import annotations import sys from pathlib import Path # Hugging Face Spaces runs the repository directly rather than installing the # src-layout package first. sys.path.insert(0, str(Path(__file__).resolve().parent / "src")) from gradio_app import demo # noqa: E402 if __name__ == "__main__": demo.launch()