storresbusquets commited on
Commit
cd62134
β€’
1 Parent(s): d8da1f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -13
app.py CHANGED
@@ -459,19 +459,18 @@ with block as demo:
459
  label = gr.Label(label="Sentiment Analysis")
460
  wordcloud_image = gr.Image(label="WordCloud")
461
 
462
- with gr.Row():
463
- btn = gr.Button("Get Video Insights πŸ”Ž", label="Primary Button", variant="primary")
464
- clear = gr.ClearButton(
465
- [link, title, img, text, summary, keywords, label, wordcloud_image],
466
- label="Secondary Button",
467
- value="Clear πŸ—‘οΈ"
468
- )
469
- btn.click(
470
- gio,
471
- inputs=[link, lang, size],
472
- outputs=[text, summary, keywords, label, wordcloud_image],
473
- )
474
- link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
475
 
476
  with gr.Tab("From Audio file πŸŽ™οΈ"):
477
  with gr.Box():
 
459
  label = gr.Label(label="Sentiment Analysis")
460
  wordcloud_image = gr.Image(label="WordCloud")
461
 
462
+ btn = gr.Button("Get Video Insights πŸ”Ž", label="Primary Button", variant="primary")
463
+ clear = gr.ClearButton(
464
+ [link, title, img, text, summary, keywords, label, wordcloud_image],
465
+ label="Secondary Button",
466
+ value="Clear πŸ—‘οΈ"
467
+ )
468
+ btn.click(
469
+ gio,
470
+ inputs=[link, lang, size],
471
+ outputs=[text, summary, keywords, label, wordcloud_image],
472
+ )
473
+ link.change(gio.populate_metadata, inputs=[link], outputs=[img, title])
 
474
 
475
  with gr.Tab("From Audio file πŸŽ™οΈ"):
476
  with gr.Box():