Jorge Henao commited on
Commit
809fd3b
·
1 Parent(s): 1c5749f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def search(question, retriever_top_k, reader_top_k):
25
  result = []
26
  for i in range(0, len(query_result)):
27
  item = query_result[i]
28
- result.append([[i+1], item.answer, item.context[:200], item.meta['title'], item.meta['source'], item.meta['page']])
29
 
30
  return result
31
 
 
25
  result = []
26
  for i in range(0, len(query_result)):
27
  item = query_result[i]
28
+ result.append([[i+1], item.answer, item.context[:200], item.meta['title'], item.meta['source'], int(item.meta['page']) +1 ])
29
 
30
  return result
31