Spaces:
Sleeping
Sleeping
| """ | |
| Main application entry point for HuggingFace Spaces deployment. | |
| """ | |
| import os | |
| import sys | |
| from pathlib import Path | |
| # Add current directory to path | |
| sys.path.append(str(Path(__file__).parent)) | |
| # Import the Gradio interface | |
| from frontend.gradio_app import create_gradio_interface | |
| # Create the interface | |
| app = create_gradio_interface() | |
| # Launch the app | |
| if __name__ == "__main__": | |
| app.launch() |