Spaces:
Running
on
Zero
Running
on
Zero
Update main.py
Browse files
main.py
CHANGED
@@ -30,7 +30,7 @@ def search(query, k):
|
|
30 |
search_results = ""
|
31 |
|
32 |
for i in range(k):
|
33 |
-
search_results += '
|
34 |
search_results += top_five["bibtex"].values[i]["citation"]
|
35 |
if top_five["pub_url"].values[i] is not None:
|
36 |
search_results += ", [Paper](" + top_five["pub_url"].values[i] + ")"
|
|
|
30 |
search_results = ""
|
31 |
|
32 |
for i in range(k):
|
33 |
+
search_results += '### ' + top_five["bibtex"].values[i]["title"] + '\n'
|
34 |
search_results += top_five["bibtex"].values[i]["citation"]
|
35 |
if top_five["pub_url"].values[i] is not None:
|
36 |
search_results += ", [Paper](" + top_five["pub_url"].values[i] + ")"
|