RobPruzan commited on
Commit
f5f87e1
·
1 Parent(s): 6e57ad7

Updating Labels

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -440,7 +440,7 @@ def vocab_level_inter(text):
440
  sum+= lvl
441
  total += 1
442
  interp.append(('', 0))
443
- return {'original': text, 'interpretation': interp}, level(sum/total*4*2.5)
444
 
445
  with gr.Blocks(title="Automatic Literacy and Speech Assesmen") as demo:
446
  gr.HTML("""<center><h7 style="font-size: 35px">Automatic Literacy and Speech Assesment</h7></center>""")
 
440
  sum+= lvl
441
  total += 1
442
  interp.append(('', 0))
443
+ return {'original': text, 'interpretation': interp}, f'{level(sum/total*4*2.5)[1:]} Vocabulary'
444
 
445
  with gr.Blocks(title="Automatic Literacy and Speech Assesmen") as demo:
446
  gr.HTML("""<center><h7 style="font-size: 35px">Automatic Literacy and Speech Assesment</h7></center>""")