Spaces:
Runtime error
Runtime error
Updating UI
Browse files
app.py
CHANGED
|
@@ -452,13 +452,14 @@ with gr.Blocks(title="Automatic Literacy and Speech Assesmen") as demo:
|
|
| 452 |
with gr.Row():
|
| 453 |
with gr.Box():
|
| 454 |
div_output = gr.Label(label='Diversity Score', show_label=False)
|
| 455 |
-
gr.
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
gr.
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
|
|
|
| 462 |
with gr.Box():
|
| 463 |
gr.Markdown("Relative Difficulty Heatmap- How confusing the text is in that area")
|
| 464 |
interpretation2 = gr.components.Interpretation(in_text, label="Difficulty Heatmap")
|
|
|
|
| 452 |
with gr.Row():
|
| 453 |
with gr.Box():
|
| 454 |
div_output = gr.Label(label='Diversity Score', show_label=False)
|
| 455 |
+
with gr.Column
|
| 456 |
+
gr.Markdown("Diversity Heatmap | Blue cells are omitted from score | Darker = More Diverse")
|
| 457 |
+
interpretation = gr.components.Interpretation(in_text, label="Diversity Heatmap")
|
| 458 |
+
with gr.Column:
|
| 459 |
+
gr.Markdown("Find Similar Words | Word must be part of analysis text | Enter only one word at a time")
|
| 460 |
+
words1 = gr.Textbox(label="Word For Similarity")
|
| 461 |
+
find_sim = gr.Button("Find Similar Words")
|
| 462 |
+
sims = gr.Label()
|
| 463 |
with gr.Box():
|
| 464 |
gr.Markdown("Relative Difficulty Heatmap- How confusing the text is in that area")
|
| 465 |
interpretation2 = gr.components.Interpretation(in_text, label="Difficulty Heatmap")
|