ccm commited on
Commit
f0f17fb
β€’
1 Parent(s): 8a004c7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -93,7 +93,7 @@ def preprocess(query: str, k: int) -> tuple[str, str]:
93
  for i in range(k):
94
  year = str(int(top_five["bib_dict"].values[i]["pub_year"]))
95
  abstract = top_five["bib_dict"].values[i]["abstract"]
96
- url = "(https://scholar.google.com/citations?view_op=view_citation&citation_for_view=" + top_five["author_pub_id"].values[i]
97
  title = top_five["bib_dict"].values[i]["title"]
98
  last_names = [
99
  author.split(" ")[-1]
 
93
  for i in range(k):
94
  year = str(int(top_five["bib_dict"].values[i]["pub_year"]))
95
  abstract = top_five["bib_dict"].values[i]["abstract"]
96
+ url = "https://scholar.google.com/citations?view_op=view_citation&citation_for_view=" + top_five["author_pub_id"].values[i]
97
  title = top_five["bib_dict"].values[i]["title"]
98
  last_names = [
99
  author.split(" ")[-1]