ccm commited on
Commit
ca1fc80
·
verified ·
1 Parent(s): 083a447

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -35,7 +35,7 @@ def search(query, k):
35
  if top_five["pub_url"].values[i] is not None:
36
  search_results += ", [Paper](" + top_five["pub_url"].values[i] + ")"
37
  search_results += "\t\n```\n"
38
- search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').replace("\"", "").strip()
39
  search_results += "\t\n```\n"
40
  return search_results
41
 
 
35
  if top_five["pub_url"].values[i] is not None:
36
  search_results += ", [Paper](" + top_five["pub_url"].values[i] + ")"
37
  search_results += "\t\n```\n"
38
+ search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').strip("\"")
39
  search_results += "\t\n```\n"
40
  return search_results
41