salmanmapkar commited on
Commit
f61e7d8
1 Parent(s): c8f1cbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -149,8 +149,8 @@ with gr.Blocks() as i:
149
  text = gr.Textbox(label="Youtube Link", placeholder="https://www.youtube.com/watch?v=GECcjrYHH8w")
150
  if not video and not text:
151
  raise gr.Error("Either input url or video (not both)")
152
- with gr.Column():
153
- output = gr.Textbox(label="Transcribed Text", lines=10)
154
  btn = gr.Button("Run")
155
  btn.click(fn=YoutubeTranscribe, inputs=text, outputs=output)
156
  i.launch()
 
149
  text = gr.Textbox(label="Youtube Link", placeholder="https://www.youtube.com/watch?v=GECcjrYHH8w")
150
  if not video and not text:
151
  raise gr.Error("Either input url or video (not both)")
152
+ with gr.Column():
153
+ output = gr.Textbox(label="Transcribed Text", lines=10)
154
  btn = gr.Button("Run")
155
  btn.click(fn=YoutubeTranscribe, inputs=text, outputs=output)
156
  i.launch()