Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ import nltk
|
|
54 |
|
55 |
nltk.download('punkt')
|
56 |
|
|
|
57 |
def fetch_latest_arxiv_papers(keywords: list, num_results: int = 5) -> list:
|
58 |
"""Fetches and ranks arXiv papers using BM25 keyword relevance.
|
59 |
|
|
|
54 |
|
55 |
nltk.download('punkt')
|
56 |
|
57 |
+
@tool
|
58 |
def fetch_latest_arxiv_papers(keywords: list, num_results: int = 5) -> list:
|
59 |
"""Fetches and ranks arXiv papers using BM25 keyword relevance.
|
60 |
|