""" Hugging Face Spaces entry point for Classics RAG QA. This file is the entry point for Hugging Face Spaces deployment. It imports and launches the Gradio app from src/app.py. """ from src.app import launch_app # Launch the app with paths relative to project root # HF Spaces runs from the repository root demo = launch_app( config_path="configs/app.yaml", index_dir="data/index" ) # For HF Spaces, we need to expose the interface # The interface will be automatically detected by HF Spaces if __name__ == "__main__": demo.launch()