mtyrrell commited on
Commit
39fdf31
1 Parent(s): 184544f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def get_refs(res):
94
  doc = res['documents'][i].to_dict()
95
  ref_id = doc['meta']['ref_id']
96
  if ref_id in ref_ids:
97
- result_str += "Ref. " + str(ref_id) + " [" + doc['meta']['country'] + " " + doc['meta']['document_name'] + "]: " + "*'" + doc['content'] + "'*<br> <br>" # Add <br> for a line break
98
  return result_str
99
 
100
  def run_query(input_text, country):
 
94
  doc = res['documents'][i].to_dict()
95
  ref_id = doc['meta']['ref_id']
96
  if ref_id in ref_ids:
97
+ result_str += "**Ref. " + str(ref_id) + " [" + doc['meta']['country'] + " " + doc['meta']['document_name'] + "]:** " + "*'" + doc['content'] + "'*<br> <br>" # Add <br> for a line break
98
  return result_str
99
 
100
  def run_query(input_text, country):