webui / app.py
asifHuggingFace's picture
Add Git LFS support and migrate binary files
405ca38
raw
history blame contribute delete
398 Bytes
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()