Spaces:
Runtime error
Runtime error
Commit
·
125ca3f
1
Parent(s):
cd62134
Update app.py
Browse files
app.py
CHANGED
@@ -458,13 +458,15 @@ with block as demo:
|
|
458 |
)
|
459 |
label = gr.Label(label="Sentiment Analysis")
|
460 |
wordcloud_image = gr.Image(label="WordCloud")
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
|
|
|
|
468 |
btn.click(
|
469 |
gio,
|
470 |
inputs=[link, lang, size],
|
|
|
458 |
)
|
459 |
label = gr.Label(label="Sentiment Analysis")
|
460 |
wordcloud_image = gr.Image(label="WordCloud")
|
461 |
+
|
462 |
+
with gr.Column():
|
463 |
+
btn = gr.Button("Get Video Insights 🔎", label="Primary Button", variant="primary")
|
464 |
+
with gr.Column():
|
465 |
+
clear = gr.ClearButton(
|
466 |
+
[link, title, img, text, summary, keywords, label, wordcloud_image],
|
467 |
+
label="Secondary Button",
|
468 |
+
value="Clear 🗑️"
|
469 |
+
)
|
470 |
btn.click(
|
471 |
gio,
|
472 |
inputs=[link, lang, size],
|