Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ def proc_nouns(sen_list):
|
|
32 |
noun_list={}
|
33 |
for nn in list(sen_list.keys()):
|
34 |
try:
|
35 |
-
print(sen_list[nn]['nouns'])
|
36 |
-
for nnn in sen_list[nn]['nouns']
|
37 |
#print(nnn)
|
38 |
if noun_list.get(nnn) != None:
|
39 |
noun_list[str(nnn)]=noun_list[str(nnn)].append(nn)
|
|
|
32 |
noun_list={}
|
33 |
for nn in list(sen_list.keys()):
|
34 |
try:
|
35 |
+
#print(sen_list[nn]['nouns'])
|
36 |
+
for nnn in sen_list[nn]['nouns']:
|
37 |
#print(nnn)
|
38 |
if noun_list.get(nnn) != None:
|
39 |
noun_list[str(nnn)]=noun_list[str(nnn)].append(nn)
|