Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,13 +84,14 @@ def get_nouns(text=text,steps=1):
|
|
| 84 |
go=True
|
| 85 |
a="Z"
|
| 86 |
if go:
|
|
|
|
| 87 |
for i,ea in enumerate(range(steps)):
|
| 88 |
|
| 89 |
if go:
|
| 90 |
for ii,sent in enumerate(noun_box):
|
| 91 |
|
| 92 |
#for iii in
|
| 93 |
-
noun_list[
|
| 94 |
|
| 95 |
if cnt == noun_cnt-1:
|
| 96 |
print('done')
|
|
|
|
| 84 |
go=True
|
| 85 |
a="Z"
|
| 86 |
if go:
|
| 87 |
+
noun_control=f'{control_val[i]}{control_char[ii]}'
|
| 88 |
for i,ea in enumerate(range(steps)):
|
| 89 |
|
| 90 |
if go:
|
| 91 |
for ii,sent in enumerate(noun_box):
|
| 92 |
|
| 93 |
#for iii in
|
| 94 |
+
noun_list[noun_control]=sent
|
| 95 |
|
| 96 |
if cnt == noun_cnt-1:
|
| 97 |
print('done')
|