Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def get_nouns(text=text,steps=1):
|
|
| 89 |
n_cnt=0
|
| 90 |
nx=noun_cnt
|
| 91 |
while True:
|
| 92 |
-
if
|
| 93 |
n_cnt+=1
|
| 94 |
nx = nx/char_len
|
| 95 |
else:
|
|
|
|
| 89 |
n_cnt=0
|
| 90 |
nx=noun_cnt
|
| 91 |
while True:
|
| 92 |
+
if nx > 1:
|
| 93 |
n_cnt+=1
|
| 94 |
nx = nx/char_len
|
| 95 |
else:
|