ccm commited on
Commit
0e77ab7
·
verified ·
1 Parent(s): eb9eac3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -38,7 +38,7 @@ def search(query, k):
38
  search_results += "[Cited By](https://scholarl.google.com" + top_five["citedby_url"].values[i] + ") "
39
  if top_five["url_related_articles"].values[i] is not None:
40
  search_results += "[Related Articles](https://scholarl.google.com" + top_five["url_related_articles"].values[i] + ") "
41
- search_results += top_five["bib_dict"].values[i]["num_citations"] + " citations\n"
42
  search_results += "\n```\n"
43
  search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').strip("\"")
44
  search_results += "```\n"
 
38
  search_results += "[Cited By](https://scholarl.google.com" + top_five["citedby_url"].values[i] + ") "
39
  if top_five["url_related_articles"].values[i] is not None:
40
  search_results += "[Related Articles](https://scholarl.google.com" + top_five["url_related_articles"].values[i] + ") "
41
+ search_results += top_five["num_citations"].values[i] + " citations\n"
42
  search_results += "\n```\n"
43
  search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').strip("\"")
44
  search_results += "```\n"