Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -446,7 +446,7 @@ def vocab_level_inter(text):
|
|
446 |
total = 0
|
447 |
for idx, i in enumerate(text):
|
448 |
if i in stop_words:
|
449 |
-
lvl = -
|
450 |
interp.append((i, lvl))
|
451 |
continue
|
452 |
lvl = int(get_level(i))/4
|
|
|
446 |
total = 0
|
447 |
for idx, i in enumerate(text):
|
448 |
if i in stop_words:
|
449 |
+
lvl = -1000
|
450 |
interp.append((i, lvl))
|
451 |
continue
|
452 |
lvl = int(get_level(i))/4
|