Spaces:
Sleeping
Sleeping
kovacsvi
commited on
Commit
·
ac25e6d
1
Parent(s):
7543a16
plot descriptions
Browse files
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
|
| 253 |
|
| 254 |
with gr.Row():
|
| 255 |
with gr.Column(scale=7):
|
| 256 |
plot = gr.Plot()
|
| 257 |
with gr.Column(scale=3):
|
| 258 |
-
gr.Markdown("
|
| 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("
|
| 269 |
|
| 270 |
with gr.Row():
|
| 271 |
with gr.Column(scale=7):
|
| 272 |
heatmap = gr.Plot()
|
| 273 |
with gr.Column(scale=3):
|
| 274 |
-
gr.Markdown("
|
| 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()
|