storresbusquets commited on
Commit
fc61871
1 Parent(s): 7bdb6ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -401,7 +401,7 @@ class GradioInference:
401
  gio = GradioInference()
402
  title = "Media Insights"
403
  description = "Your AI-powered video analytics tool"
404
- theme = gr.themes.Soft(spacing_size="lg", radius_size="lg")
405
 
406
  block = gr.Blocks(theme=theme)
407
 
@@ -448,14 +448,10 @@ with block as demo:
448
  with gr.Row().style(equal_height=True):
449
  summary = gr.Textbox(
450
  label="Summary", placeholder="Summary Output...", lines=5
451
- ).style(show_copy_button=True,
452
- # container=True
453
- )
454
  keywords = gr.Textbox(
455
  label="Keywords", placeholder="Keywords Output...", lines=5
456
- ).style(show_copy_button=True,
457
- # container=True
458
- )
459
  label = gr.Label(label="Sentiment Analysis")
460
  wordcloud_image = gr.Image(label="WordCloud")
461
 
@@ -594,7 +590,7 @@ with block:
594
  <p style="margin-bottom: 10px; font-size: 96%">
595
  Trabajo de Fin de Máster - Grupo 3
596
  </p>
597
- <p style="margin-bottom: 10px; font-size: 90%">
598
  2022/23 Master in Big Data & Data Science - Universidad Complutense de Madrid
599
  </p>
600
  </div>
 
401
  gio = GradioInference()
402
  title = "Media Insights"
403
  description = "Your AI-powered video analytics tool"
404
+ theme = gr.themes.Soft(spacing_size="md", radius_size="md")
405
 
406
  block = gr.Blocks(theme=theme)
407
 
 
448
  with gr.Row().style(equal_height=True):
449
  summary = gr.Textbox(
450
  label="Summary", placeholder="Summary Output...", lines=5
451
+ ).style(show_copy_button=True)
 
 
452
  keywords = gr.Textbox(
453
  label="Keywords", placeholder="Keywords Output...", lines=5
454
+ ).style(show_copy_button=True)
 
 
455
  label = gr.Label(label="Sentiment Analysis")
456
  wordcloud_image = gr.Image(label="WordCloud")
457
 
 
590
  <p style="margin-bottom: 10px; font-size: 96%">
591
  Trabajo de Fin de Máster - Grupo 3
592
  </p>
593
+ <p>
594
  2022/23 Master in Big Data & Data Science - Universidad Complutense de Madrid
595
  </p>
596
  </div>