Spaces:
Runtime error
Runtime error
storresbusquets
commited on
Commit
·
5cfe812
1
Parent(s):
5958011
Update app.py
Browse files
app.py
CHANGED
@@ -292,7 +292,7 @@ with block as demo:
|
|
292 |
)
|
293 |
title = gr.Label(label="Video Title")
|
294 |
with gr.Row().style(equal_height=True):
|
295 |
-
img = gr.Image(label="Thumbnail")
|
296 |
text = gr.Textbox(
|
297 |
label="Transcription",
|
298 |
placeholder="Transcription Output...",
|
@@ -309,9 +309,9 @@ with block as demo:
|
|
309 |
wordcloud_image = gr.Image()
|
310 |
with gr.Row().style(equal_height=True):
|
311 |
clear = gr.ClearButton(
|
312 |
-
[link, title, img, text, summary, keywords, label, wordcloud_image], scale=1
|
313 |
)
|
314 |
-
btn = gr.Button("Get video insights", variant="primary", scale=1)
|
315 |
btn.click(
|
316 |
gio,
|
317 |
inputs=[link, lang, size],
|
@@ -345,9 +345,9 @@ with block as demo:
|
|
345 |
label = gr.Label(label="Sentiment Analysis")
|
346 |
wordcloud_image = gr.Image()
|
347 |
with gr.Row().style(equal_height=True):
|
348 |
-
clear = gr.ClearButton([audio_file,text, summary, keywords, label, wordcloud_image], scale=1)
|
349 |
btn = gr.Button(
|
350 |
-
"Get video insights", variant="primary", scale=1
|
351 |
)
|
352 |
btn.click(
|
353 |
gio.from_audio_input,
|
|
|
292 |
)
|
293 |
title = gr.Label(label="Video Title")
|
294 |
with gr.Row().style(equal_height=True):
|
295 |
+
img = gr.Image(label="Thumbnail", rounded=True)
|
296 |
text = gr.Textbox(
|
297 |
label="Transcription",
|
298 |
placeholder="Transcription Output...",
|
|
|
309 |
wordcloud_image = gr.Image()
|
310 |
with gr.Row().style(equal_height=True):
|
311 |
clear = gr.ClearButton(
|
312 |
+
[link, title, img, text, summary, keywords, label, wordcloud_image], scale=1, rounded=True
|
313 |
)
|
314 |
+
btn = gr.Button("Get video insights", variant="primary", scale=1, rounded=True)
|
315 |
btn.click(
|
316 |
gio,
|
317 |
inputs=[link, lang, size],
|
|
|
345 |
label = gr.Label(label="Sentiment Analysis")
|
346 |
wordcloud_image = gr.Image()
|
347 |
with gr.Row().style(equal_height=True):
|
348 |
+
clear = gr.ClearButton([audio_file,text, summary, keywords, label, wordcloud_image], scale=1, rounded=True)
|
349 |
btn = gr.Button(
|
350 |
+
"Get video insights", variant="primary", scale=1, rounded=True
|
351 |
)
|
352 |
btn.click(
|
353 |
gio.from_audio_input,
|