GenaroRocha commited on
Commit
43b4acc
1 Parent(s): 397e334
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks(css='style.css') as demo:
73
  gr.Markdown("<font color=red size=10><center>Sentiment analysis: Amazon </center></font>")
74
  gr.Markdown(
75
  '''
76
- <p style='text-align: center;'>Seleccione una categoría y visualice los datos y la distribución de sentimientos.</p>
77
  '''
78
  )
79
  with gr.Column():
@@ -82,8 +82,8 @@ with gr.Blocks(css='style.css') as demo:
82
  category = gr.Dropdown(choices=list(category_to_file_path.keys()), label="Seleccione una categoría")
83
  show_button = gr.Button("Mostrar Datos")
84
  plot_button = gr.Button("Graficar Distribución de Sentimientos")
85
- with gr.Column():
86
  output_df = gr.Dataframe()
 
87
  output_bar_plot = gr.Plot()
88
  output_pie_plot = gr.Plot()
89
 
 
73
  gr.Markdown("<font color=red size=10><center>Sentiment analysis: Amazon </center></font>")
74
  gr.Markdown(
75
  '''
76
+ <p style='text-align: center;'>Seleccione una categoría de producto comprado y visualice la distribución de sentimientos en las reviews para esa categoría.</p>
77
  '''
78
  )
79
  with gr.Column():
 
82
  category = gr.Dropdown(choices=list(category_to_file_path.keys()), label="Seleccione una categoría")
83
  show_button = gr.Button("Mostrar Datos")
84
  plot_button = gr.Button("Graficar Distribución de Sentimientos")
 
85
  output_df = gr.Dataframe()
86
+ with gr.Column():
87
  output_bar_plot = gr.Plot()
88
  output_pie_plot = gr.Plot()
89