Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def find_query(query,sen,nouns):
|
|
113 |
noun_box[str(nl)].append(ea_n)
|
114 |
for ea in noun_box.values():
|
115 |
for vals in ea:
|
116 |
-
sen_box.append(sen[vals])
|
117 |
|
118 |
|
119 |
return noun_box,sen_box
|
|
|
113 |
noun_box[str(nl)].append(ea_n)
|
114 |
for ea in noun_box.values():
|
115 |
for vals in ea:
|
116 |
+
sen_box.append(sen[vals]['sentence'])
|
117 |
|
118 |
|
119 |
return noun_box,sen_box
|