File size: 271 Bytes
cef8a01
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
from src.ui import create_ui

def main():
    # Launch the UI
    try:
        demo = create_ui()
        demo.launch(show_error=True)
    except Exception as e:
        print(f"Error launching Gradio app: {e}")

if __name__ == "__main__":
    main()