"""Hugging Face Spaces entrypoint for the React + FastAPI application.""" import os import sys PROJECT_ROOT = os.path.join(os.path.dirname(__file__), "doc_intelligence") if PROJECT_ROOT not in sys.path: sys.path.insert(0, PROJECT_ROOT) from src.api.main import app # noqa: E402