storresbusquets commited on
Commit
fb09c72
Β·
1 Parent(s): 7c285ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -290,10 +290,10 @@ with block as demo:
290
  label="Keywords", placeholder="Keywords Output...", lines=5
291
  ).style(show_copy_button=True, container=True)
292
  label = gr.Label(label="Sentiment Analysis")
293
- wordcloud_image = gr.Image()
294
  with gr.Row().style(equal_height=True):
295
  clear = gr.ClearButton(
296
- [link, title, img, text, summary, keywords, label, wordcloud_image], scale=1, rounded=True
297
  )
298
  btn = gr.Button("Get video insights πŸ”Ž", variant="primary", scale=1, rounded=True)
299
  btn.click(
@@ -327,9 +327,9 @@ with block as demo:
327
  label="Keywords", placeholder="Keywords Output", lines=5
328
  )
329
  label = gr.Label(label="Sentiment Analysis")
330
- wordcloud_image = gr.Image()
331
  with gr.Row().style(equal_height=True):
332
- clear = gr.ClearButton([audio_file,text, summary, keywords, label, wordcloud_image], scale=1, rounded=True)
333
  btn = gr.Button(
334
  "Get video insights πŸ”Ž", variant="primary", scale=1, rounded=True
335
  )
 
290
  label="Keywords", placeholder="Keywords Output...", lines=5
291
  ).style(show_copy_button=True, container=True)
292
  label = gr.Label(label="Sentiment Analysis")
293
+ wordcloud_image = gr.Image(label="WordCloud")
294
  with gr.Row().style(equal_height=True):
295
  clear = gr.ClearButton(
296
+ [link, title, img, text, summary, keywords, label, wordcloud_image], scale=1, value="Clear πŸ—‘οΈ", rounded=True
297
  )
298
  btn = gr.Button("Get video insights πŸ”Ž", variant="primary", scale=1, rounded=True)
299
  btn.click(
 
327
  label="Keywords", placeholder="Keywords Output", lines=5
328
  )
329
  label = gr.Label(label="Sentiment Analysis")
330
+ wordcloud_image = gr.Image(label="WordCloud")
331
  with gr.Row().style(equal_height=True):
332
+ clear = gr.ClearButton([audio_file,text, summary, keywords, label, wordcloud_image], scale=1, value="Clear πŸ—‘οΈ",rounded=True)
333
  btn = gr.Button(
334
  "Get video insights πŸ”Ž", variant="primary", scale=1, rounded=True
335
  )