Spaces:
Runtime error
Runtime error
storresbusquets
commited on
Commit
•
89aa10a
1
Parent(s):
bc0e948
Update app.py
Browse files
app.py
CHANGED
@@ -455,12 +455,12 @@ with block as demo:
|
|
455 |
label = gr.Label(label="Sentiment Analysis")
|
456 |
wordcloud_image = gr.Image(label="WordCloud")
|
457 |
|
458 |
-
with gr.Row():
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
btn.click(
|
465 |
gio,
|
466 |
inputs=[link, lang, size],
|
@@ -484,7 +484,7 @@ with block as demo:
|
|
484 |
text = gr.Textbox(
|
485 |
label="Transcription",
|
486 |
placeholder="Transcription Output...",
|
487 |
-
lines=
|
488 |
).style(show_copy_button=True)
|
489 |
|
490 |
with gr.Row().style(equal_height=True):
|
@@ -540,9 +540,7 @@ with block as demo:
|
|
540 |
|
541 |
with block:
|
542 |
gr.Markdown("### Video Examples")
|
543 |
-
gr.Markdown("🇬🇧")
|
544 |
gr.Examples(["https://www.youtube.com/shorts/xDNzz8yAH7I","https://www.youtube.com/watch?v=MnrJzXM7a6o&pp=ygURc3RldmUgam9icyBzcGVlY2g%3D"], inputs=link)
|
545 |
-
gr.Markdown("🇪🇸")
|
546 |
|
547 |
gr.Markdown("### Audio Examples")
|
548 |
# gr.Examples(
|
@@ -588,7 +586,7 @@ with block:
|
|
588 |
|
589 |
gr.HTML(
|
590 |
"""
|
591 |
-
<div style="text-align: center;
|
592 |
<p style="margin-bottom: 10px; font-size: 96%">
|
593 |
Trabajo de Fin de Máster - Grupo 3
|
594 |
</p>
|
|
|
455 |
label = gr.Label(label="Sentiment Analysis")
|
456 |
wordcloud_image = gr.Image(label="WordCloud")
|
457 |
|
458 |
+
with gr.Row().style(rounded=True):
|
459 |
+
btn = gr.Button("Get Video Insights 🔎", variant="primary", scale=1)
|
460 |
+
clear = gr.ClearButton(
|
461 |
+
[link, title, img, text, summary, keywords, label, wordcloud_image],
|
462 |
+
value="Clear 🗑️", scale=1
|
463 |
+
)
|
464 |
btn.click(
|
465 |
gio,
|
466 |
inputs=[link, lang, size],
|
|
|
484 |
text = gr.Textbox(
|
485 |
label="Transcription",
|
486 |
placeholder="Transcription Output...",
|
487 |
+
lines=10,
|
488 |
).style(show_copy_button=True)
|
489 |
|
490 |
with gr.Row().style(equal_height=True):
|
|
|
540 |
|
541 |
with block:
|
542 |
gr.Markdown("### Video Examples")
|
|
|
543 |
gr.Examples(["https://www.youtube.com/shorts/xDNzz8yAH7I","https://www.youtube.com/watch?v=MnrJzXM7a6o&pp=ygURc3RldmUgam9icyBzcGVlY2g%3D"], inputs=link)
|
|
|
544 |
|
545 |
gr.Markdown("### Audio Examples")
|
546 |
# gr.Examples(
|
|
|
586 |
|
587 |
gr.HTML(
|
588 |
"""
|
589 |
+
<div style="text-align: center; margin: 0 auto;">
|
590 |
<p style="margin-bottom: 10px; font-size: 96%">
|
591 |
Trabajo de Fin de Máster - Grupo 3
|
592 |
</p>
|