Spaces:
Runtime error
Runtime error
Updating Labels
Browse files
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>""")
|