From b4d42862f925c5f9b2bf46a5b20a16fdb3de6eda Mon Sep 17 00:00:00 2001 From: tcsenpai Date: Fri, 23 May 2025 10:49:18 +0200 Subject: [PATCH] fix tab loading --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index d63ac3b..1a30f1b 100644 --- a/app.py +++ b/app.py @@ -187,7 +187,7 @@ def create_interface(): "### A powerful tool for transcribing and summarizing audio/video content" ) - with gr.Tabs(selected="YouTube") as tabs: # Use tab name instead of index + with gr.Tabs() as tabs: with gr.TabItem("Local File"): gr.Markdown( """ @@ -313,7 +313,7 @@ def create_interface(): ], ) - with gr.TabItem("YouTube"): + with gr.TabItem("YouTube", selected=True): gr.Markdown( """ ### YouTube Video Processing