CarlosMalaga
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -353,7 +353,7 @@ def run_client():
|
|
353 |
|
354 |
candidates_text = []
|
355 |
for pred in response[0]:
|
356 |
-
|
357 |
|
358 |
dict_of_ents_candidates, options_candidates = get_retriever_annotations_candidates(text, candidates_text)
|
359 |
|
|
|
353 |
|
354 |
candidates_text = []
|
355 |
for pred in response[0]:
|
356 |
+
candidates_text.append(pred.document.text)
|
357 |
|
358 |
dict_of_ents_candidates, options_candidates = get_retriever_annotations_candidates(text, candidates_text)
|
359 |
|