RobPruzan commited on
Commit
5c9c9ea
·
1 Parent(s): 2fe5cc4

Updating UI

Browse files
Files changed (1) hide show
  1. app.py +8 -7
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.Markdown("Diversity Heatmap | Blue cells are omitted from score | Darker = More Diverse")
456
- interpretation = gr.components.Interpretation(in_text, label="Diversity Heatmap")
457
-
458
- gr.Markdown("Find Similar Words | Word must be part of analysis text | Enter only one word at a time")
459
- words1 = gr.Textbox(label="Word For Similarity")
460
- find_sim = gr.Button("Find Similar Words")
461
- sims = gr.Label()
 
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")