"""Entry point for Hugging Face Spaces deployment.""" import sys from pathlib import Path # Add src directory to Python path src_path = Path(__file__).parent / "src" sys.path.insert(0, str(src_path)) # Load and execute the main app app_file = src_path / "app.py" with open(app_file, encoding="utf-8") as f: code = f.read() exec(code, {"__name__": "__main__", "__file__": str(app_file)})