File size: 398 Bytes
405ca38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()