pdx97 commited on
Commit
1d916f0
·
verified ·
1 Parent(s): 5c1330b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -328,9 +328,19 @@ summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
328
  @tool
329
  def fetch_latest_arxiv_papers(keywords: list, num_results: int = 5) -> list:
330
 
 
331
  """
332
- Fetches and ranks research papers from ArXiv using TF-IDF and Cosine Similarity.
 
 
 
 
 
 
 
333
  """
 
 
334
 
335
 
336
  try:
 
328
  @tool
329
  def fetch_latest_arxiv_papers(keywords: list, num_results: int = 5) -> list:
330
 
331
+
332
  """
333
+ Fetches and ranks arXiv papers using TF-IDF and Cosine Similarity.
334
+
335
+ Args:
336
+ keywords: List of keywords for search.
337
+ num_results: Number of results to return.
338
+
339
+ Returns:
340
+ List of the most relevant papers based on TF-IDF ranking.
341
  """
342
+
343
+
344
 
345
 
346
  try: