Spaces:
Running
on
Zero
Running
on
Zero
Update main.py
Browse files
main.py
CHANGED
@@ -40,7 +40,7 @@ def search(query: str, k: int):
|
|
40 |
|
41 |
for i in range(k):
|
42 |
search_results += "### " + top_five["bib_dict"].values[i]["title"] + "\n\n"
|
43 |
-
search_results += str(D[i]) + "\n\n"
|
44 |
if top_five["pub_url"].values[i] is not None:
|
45 |
search_results += "[Full Text](" + top_five["pub_url"].values[i] + ") "
|
46 |
if top_five["citedby_url"].values[i] is not None:
|
|
|
40 |
|
41 |
for i in range(k):
|
42 |
search_results += "### " + top_five["bib_dict"].values[i]["title"] + "\n\n"
|
43 |
+
search_results += str(D[0][i]) + "\n\n"
|
44 |
if top_five["pub_url"].values[i] is not None:
|
45 |
search_results += "[Full Text](" + top_five["pub_url"].values[i] + ") "
|
46 |
if top_five["citedby_url"].values[i] is not None:
|