Spaces:
Runtime error
Runtime error
Commit
·
ce8f337
1
Parent(s):
6a0255c
Update app.py
Browse files
app.py
CHANGED
|
@@ -304,17 +304,17 @@ with gr.Blocks() as yav_ui:
|
|
| 304 |
yinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
|
| 305 |
yinput_sn = gr.Textbox(label="Name of the Speakers (ordered by the time they speak and separated by comma)", placeholder="If Speaker 1 is first to speak followed by Speaker 2 then -> Speaker 1, Speaker 2")
|
| 306 |
yinput = gr.Textbox(label="Youtube Link", placeholder="https://www.youtube.com/watch?v=GECcjrYHH8w")
|
| 307 |
-
ybutton_transcribe = gr.Button("Transcribe")
|
| 308 |
with gr.Tab("Video", id=2):
|
| 309 |
vinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
|
| 310 |
vinput_sn = gr.Textbox(label="Name of the Speakers (ordered by the time they speak and separated by comma)", placeholder="If Speaker 1 is first to speak followed by Speaker 2 then -> Speaker 1, Speaker 2")
|
| 311 |
vinput = gr.Video(label="Video")
|
| 312 |
-
vbutton_transcribe = gr.Button("Transcribe")
|
| 313 |
with gr.Tab("Audio", id=3):
|
| 314 |
ainput_nos = gr.Number(label="Number of Speakers", placeholder="2")
|
| 315 |
ainput_sn = gr.Textbox(label="Name of the Speakers (ordered by the time they speak and separated by comma)", placeholder="If Speaker 1 is first to speak followed by Speaker 2 then -> Speaker 1, Speaker 2")
|
| 316 |
ainput = gr.Audio(label="Audio", type="filepath")
|
| 317 |
-
abutton_transcribe = gr.Button("Transcribe")
|
| 318 |
with gr.Tab("Output"):
|
| 319 |
with gr.Tab("Text"):
|
| 320 |
output_textbox = gr.Textbox(label="Transcribed Text", lines=15)
|
|
|
|
| 304 |
yinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
|
| 305 |
yinput_sn = gr.Textbox(label="Name of the Speakers (ordered by the time they speak and separated by comma)", placeholder="If Speaker 1 is first to speak followed by Speaker 2 then -> Speaker 1, Speaker 2")
|
| 306 |
yinput = gr.Textbox(label="Youtube Link", placeholder="https://www.youtube.com/watch?v=GECcjrYHH8w")
|
| 307 |
+
ybutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
|
| 308 |
with gr.Tab("Video", id=2):
|
| 309 |
vinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
|
| 310 |
vinput_sn = gr.Textbox(label="Name of the Speakers (ordered by the time they speak and separated by comma)", placeholder="If Speaker 1 is first to speak followed by Speaker 2 then -> Speaker 1, Speaker 2")
|
| 311 |
vinput = gr.Video(label="Video")
|
| 312 |
+
vbutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
|
| 313 |
with gr.Tab("Audio", id=3):
|
| 314 |
ainput_nos = gr.Number(label="Number of Speakers", placeholder="2")
|
| 315 |
ainput_sn = gr.Textbox(label="Name of the Speakers (ordered by the time they speak and separated by comma)", placeholder="If Speaker 1 is first to speak followed by Speaker 2 then -> Speaker 1, Speaker 2")
|
| 316 |
ainput = gr.Audio(label="Audio", type="filepath")
|
| 317 |
+
abutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
|
| 318 |
with gr.Tab("Output"):
|
| 319 |
with gr.Tab("Text"):
|
| 320 |
output_textbox = gr.Textbox(label="Transcribed Text", lines=15)
|