Spaces:
Paused
Paused
| import os | |
| import sys | |
| # Add the current directory to Python path to ensure imports work | |
| sys.path.append(os.path.dirname(os.path.abspath(__file__))) | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| from src.webui.interface import create_ui | |
| # Create the Gradio app | |
| demo = create_ui(theme_name="Ocean") | |
| # For deployment, we need to expose the app directly | |
| if __name__ == "__main__": | |
| demo.launch() |