Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,9 +54,9 @@ def get_nouns(text):
|
|
54 |
|
55 |
for nn in noun_box:
|
56 |
if nn in list(noun_list.keys()):
|
57 |
-
noun_list[str(nn)].append(f'{
|
58 |
else:
|
59 |
-
noun_list[str(nn)]=[f'{
|
60 |
|
61 |
if json_object[f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}']=='ZNNN':
|
62 |
#if json_object[sen_list[cnt]]=='ZNNN':
|
|
|
54 |
|
55 |
for nn in noun_box:
|
56 |
if nn in list(noun_list.keys()):
|
57 |
+
noun_list[str(nn)].append(f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}')
|
58 |
else:
|
59 |
+
noun_list[str(nn)]=[f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}']
|
60 |
|
61 |
if json_object[f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}']=='ZNNN':
|
62 |
#if json_object[sen_list[cnt]]=='ZNNN':
|