ccm commited on
Commit
1f39bff
·
verified ·
1 Parent(s): 56e3607

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -46,7 +46,7 @@ def search(query: str, k: int):
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:
51
  search_results += (
52
  "/ [Cited By](" + SCHOLAR_URL + top_five["citedby_url"].values[i] + ") "
 
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](https://scholar.google.com/citations?view_op=view_citation&citation_for_view=" + top_five["author_pub_id"].values[i] + ") "
50
  if top_five["citedby_url"].values[i] is not None:
51
  search_results += (
52
  "/ [Cited By](" + SCHOLAR_URL + top_five["citedby_url"].values[i] + ") "