adi-123's picture
Upload 3 files
9f6bd24 verified
"""Project Intelligence Hub - Hugging Face Spaces Entry Point."""
import os
# Ensure environment variables are loaded from HF Secrets
# Users set these in Settings > Repository secrets on HF Spaces
from src.ui.gradio_app import GradioApp
if __name__ == "__main__":
app = GradioApp()
app.launch(
server_name="0.0.0.0",
server_port=7860,
share=False,
)
else:
# For Hugging Face Spaces - module-level app object
app = GradioApp()
demo = app.build()