mirror of
https://github.com/tcsenpai/whisperapp.git
synced 2025-06-05 14:45:20 +00:00
fix tab loading
This commit is contained in:
parent
9e3fa8af1e
commit
b4d42862f9
4
app.py
4
app.py
@ -187,7 +187,7 @@ def create_interface():
|
|||||||
"### A powerful tool for transcribing and summarizing audio/video content"
|
"### 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"):
|
with gr.TabItem("Local File"):
|
||||||
gr.Markdown(
|
gr.Markdown(
|
||||||
"""
|
"""
|
||||||
@ -313,7 +313,7 @@ def create_interface():
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
with gr.TabItem("YouTube"):
|
with gr.TabItem("YouTube", selected=True):
|
||||||
gr.Markdown(
|
gr.Markdown(
|
||||||
"""
|
"""
|
||||||
### YouTube Video Processing
|
### YouTube Video Processing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user