salmanmapkar commited on
Commit
588b426
1 Parent(s): 6ac6878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -328,8 +328,8 @@ 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.Column():
332
- with gr.Row():
333
  with gr.Tab("Youtube", id=1):
334
  yinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
335
  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")
@@ -345,7 +345,7 @@ with gr.Blocks() as yav_ui:
345
  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")
346
  ainput = gr.Audio(label="Audio", type="filepath")
347
  abutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
348
- with gr.Row():
349
  with gr.Tab("Text"):
350
  output_textbox = gr.Textbox(label="Transcribed Text", lines=15)
351
  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.Row():
332
+ with gr.Column():
333
  with gr.Tab("Youtube", id=1):
334
  yinput_nos = gr.Number(label="Number of Speakers", placeholder="2")
335
  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")
 
345
  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")
346
  ainput = gr.Audio(label="Audio", type="filepath")
347
  abutton_transcribe = gr.Button("Transcribe", show_progress=True, scroll_to_output=True)
348
+ with gr.Column():
349
  with gr.Tab("Text"):
350
  output_textbox = gr.Textbox(label="Transcribed Text", lines=15)
351
  with gr.Tab("JSON"):