ccm commited on
Commit
6c108b9
·
verified ·
1 Parent(s): 7189630

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -44,7 +44,7 @@ def search(query: str, k: int):
44
 
45
  for i in range(k):
46
  search_results += "### " + top_five["bib_dict"].values[i]["title"] + "\n\n"
47
- search_results += str(int(100*D[0][i]))) + "% relevant "
48
  if top_five["pub_url"].values[i] is not None:
49
  search_results += "[Full Text](" + top_five["pub_url"].values[i] + ") "
50
  if top_five["citedby_url"].values[i] is not None:
 
44
 
45
  for i in range(k):
46
  search_results += "### " + top_five["bib_dict"].values[i]["title"] + "\n\n"
47
+ search_results += str(int(100*D[0][i])) + "% relevant "
48
  if top_five["pub_url"].values[i] is not None:
49
  search_results += "[Full Text](" + top_five["pub_url"].values[i] + ") "
50
  if top_five["citedby_url"].values[i] is not None: