storresbusquets commited on
Commit
8cc73eb
1 Parent(s): ae4aeee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -410,7 +410,7 @@ with block as demo:
410
  """
411
  <div style="text-align: center; max-width: 500px; margin: 0 auto;">
412
  <div>
413
- <h1 style="font-family: montserrat, sans-serif;">MEDIA <span style="color: #433ccb;">INSIGHTS</span> 💡</h1>
414
  </div>
415
  <h4 style="margin-bottom: 5px; font-size: 95%">
416
  Your AI-powered video analytics tool ✨
@@ -460,18 +460,18 @@ with block as demo:
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():
 
410
  """
411
  <div style="text-align: center; max-width: 500px; margin: 0 auto;">
412
  <div>
413
+ <h1 style="font-family: Montserrat, sans-serif;">MEDIA <span style="color: #433ccb;">INSIGHTS</span> 💡</h1>
414
  </div>
415
  <h4 style="margin-bottom: 5px; font-size: 95%">
416
  Your AI-powered video analytics tool ✨
 
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():