Spaces:
Running
on
Zero
Running
on
Zero
Update main.py
Browse files
main.py
CHANGED
@@ -35,9 +35,9 @@ def search(query, k):
|
|
35 |
if top_five["pub_url"].values[i] is not None:
|
36 |
search_results += "[Full Text](" + top_five["pub_url"].values[i] + ") "
|
37 |
if top_five["citedby_url"].values[i] is not None:
|
38 |
-
search_results += "[Cited By](https://
|
39 |
if top_five["url_related_articles"].values[i] is not None:
|
40 |
-
search_results += "[Related Articles](https://
|
41 |
search_results += "\n\n```bibtex\n"
|
42 |
search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').strip("\"")
|
43 |
search_results += "```\n"
|
|
|
35 |
if top_five["pub_url"].values[i] is not None:
|
36 |
search_results += "[Full Text](" + top_five["pub_url"].values[i] + ") "
|
37 |
if top_five["citedby_url"].values[i] is not None:
|
38 |
+
search_results += "[Cited By](https://scholar.google.com" + top_five["citedby_url"].values[i] + ") "
|
39 |
if top_five["url_related_articles"].values[i] is not None:
|
40 |
+
search_results += "[Related Articles](https://scholar.google.com" + top_five["url_related_articles"].values[i] + ") "
|
41 |
search_results += "\n\n```bibtex\n"
|
42 |
search_results += json.dumps(top_five["bibtex"].values[i], indent=4).replace('\\n', '\n').replace('\\t', '\t').strip("\"")
|
43 |
search_results += "```\n"
|