import gradio as gr from pages.live_match import create_lbw_ui from pages.upload_analysis import create_analysis_ui # Define the Gradio interface with tabs with gr.Blocks(title="Gully DRS - Decision Review System") as app: gr.Markdown("# Gully DRS - Decision Review System") # Create tabs for Live Match and Pose Analysis with gr.Tabs(): with gr.TabItem("Live Match LBW Review"): create_lbw_ui() with gr.TabItem("Pose-Based Practice Analysis"): create_analysis_ui() # Launch the app if __name__ == "__main__": app.launch()