ccm commited on
Commit
8a49470
·
verified ·
1 Parent(s): c2deeb5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -39,7 +39,7 @@ def search(query, k):
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 += "\n\n" + str(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"
45
  return search_results
 
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 += "\n\n" + str(top_five["num_citations"].values[i]) + " citations\n"
42
+ search_results += "\n```bibtex\n"
43
  search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').strip("\"")
44
  search_results += "```\n"
45
  return search_results