vettri06's picture
Replace Streamlit with React document workspace
6869b3c
Raw History Blame Contribute Delete
286 Bytes
"""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