salmanmapkar commited on
Commit
2c95b46
1 Parent(s): dcb8221

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -328,7 +328,7 @@ at = gr.Interface(
328
  # demo = gr.TabbedInterface([ut, vt, at], ["Youtube URL", "Video", "Audio"])
329
  # demo.launch()
330
  with gr.Blocks() as yav_ui:
331
- with gr.Tab("Input"):
332
  with gr.Tab("Youtube", id=1):
333
  yinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
334
  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")
@@ -344,7 +344,7 @@ with gr.Blocks() as yav_ui:
344
  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")
345
  ainput = gr.Audio(label="Audio", type="filepath")
346
  abutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
347
- with gr.Tab("Output"):
348
  with gr.Tab("Text"):
349
  output_textbox = gr.Textbox(label="Transcribed Text", lines=15)
350
  with gr.Tab("JSON"):
 
328
  # demo = gr.TabbedInterface([ut, vt, at], ["Youtube URL", "Video", "Audio"])
329
  # demo.launch()
330
  with gr.Blocks() as yav_ui:
331
+ with gr.Column():
332
  with gr.Tab("Youtube", id=1):
333
  yinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
334
  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")
 
344
  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")
345
  ainput = gr.Audio(label="Audio", type="filepath")
346
  abutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
347
+ with gr.Column():
348
  with gr.Tab("Text"):
349
  output_textbox = gr.Textbox(label="Transcribed Text", lines=15)
350
  with gr.Tab("JSON"):