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()