fix tab loading

This commit is contained in:
tcsenpai 2025-05-23 10:49:18 +02:00
parent 9e3fa8af1e
commit b4d42862f9

4
app.py
View File

@ -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