egarciag commited on
Commit
3f42e28
·
verified ·
1 Parent(s): cf5568c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,13 +12,13 @@ from Gradio_UI import GradioUI
12
  @tool
13
  def search_articles(text2search: str, start: int, end: int, output_md: str = "arxiv_articles.md") -> str:
14
  """
15
- A tool that searches for academic articles on arxiv.org using a search term and saves the results
16
- as a Markdown file.
17
 
18
  Args:
19
  text2search (str): The keyword or phrase to search for in ArXiv articles.
20
  start (int): The starting index of the search results (used for pagination).
21
- end (int): The maximum number of articles to retrieve.
22
  output_md (str, optional): The name of the output Markdown file. Defaults to "arxiv_articles.md".
23
 
24
  Returns:
 
12
  @tool
13
  def search_articles(text2search: str, start: int, end: int, output_md: str = "arxiv_articles.md") -> str:
14
  """
15
+ Searches for academic articles on arxiv.org using a given search term, retrieves
16
+ results within a given range, and saves the output as a Markdown file.
17
 
18
  Args:
19
  text2search (str): The keyword or phrase to search for in ArXiv articles.
20
  start (int): The starting index of the search results (used for pagination).
21
+ end (int): The number of articles to retrieve from the API.
22
  output_md (str, optional): The name of the output Markdown file. Defaults to "arxiv_articles.md".
23
 
24
  Returns: