| """Spaces entry point — re-exports the Streamlit app from app/streamlit_app.py. | |
| HF Spaces convention is `app.py` at the repo root. This file just delegates | |
| so the app code stays in app/streamlit_app.py for local dev. | |
| """ | |
| import runpy | |
| from pathlib import Path | |
| # Make the package importable when this file is the Spaces entry point. | |
| import sys | |
| sys.path.insert(0, str(Path(__file__).parent / "src")) | |
| runpy.run_path(str(Path(__file__).parent / "app" / "streamlit_app.py"), run_name="__main__") | |