kovacsvi commited on
Commit
ac25e6d
·
1 Parent(s): 7543a16

plot descriptions

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -249,13 +249,13 @@ with gr.Blocks(css=css) as demo:
249
  with gr.Column(scale=7):
250
  piechart = gr.Plot()
251
  with gr.Column(scale=3):
252
- gr.Markdown("The following pie chart shows the average probabilities of all emotions associated with the entire text.", elem_classes="info")
253
 
254
  with gr.Row():
255
  with gr.Column(scale=7):
256
  plot = gr.Plot()
257
  with gr.Column(scale=3):
258
- gr.Markdown("The bar plot represents the relative frequency of emotion predictions at the sentence level.", elem_classes="info")
259
 
260
  with gr.Row():
261
  with gr.Column(scale=7):
@@ -265,13 +265,13 @@ with gr.Blocks(css=css) as demo:
265
  wrap=True # important
266
  )
267
  with gr.Column(scale=3):
268
- gr.Markdown("The table displays the predicted emotion and its confidence value for each sentence in the text.", elem_classes="info")
269
 
270
  with gr.Row():
271
  with gr.Column(scale=7):
272
  heatmap = gr.Plot()
273
  with gr.Column(scale=3):
274
- gr.Markdown("The heatmap visualizes the probability of emotions within each sentence. The darker the color, the stronger the presence of the given emotion.", elem_classes="info")
275
 
276
  with gr.Row():
277
  model_info = gr.Markdown()
 
249
  with gr.Column(scale=7):
250
  piechart = gr.Plot()
251
  with gr.Column(scale=3):
252
+ gr.Markdown("The chart gives an overview of the main emotions found in the text and how strongly each one is present.", elem_classes="info")
253
 
254
  with gr.Row():
255
  with gr.Column(scale=7):
256
  plot = gr.Plot()
257
  with gr.Column(scale=3):
258
+ gr.Markdown("This bar chart shows how often each emotion appears in the sentences of the text.", elem_classes="info")
259
 
260
  with gr.Row():
261
  with gr.Column(scale=7):
 
265
  wrap=True # important
266
  )
267
  with gr.Column(scale=3):
268
+ gr.Markdown("This table shows the emotion detected in each sentence, along with how confident our prediction is.", elem_classes="info")
269
 
270
  with gr.Row():
271
  with gr.Column(scale=7):
272
  heatmap = gr.Plot()
273
  with gr.Column(scale=3):
274
+ gr.Markdown("This heatmap shows how strongly each emotion appears in every sentence. Darker colours mean stronger presence.", elem_classes="info")
275
 
276
  with gr.Row():
277
  model_info = gr.Markdown()