edenbt commited on
Commit
6c31f11
·
verified ·
1 Parent(s): 3c2d8ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ def search_web_with_duckduckgo(query: str, max_results: int = 5)-> str: #it's im
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
  """Searches the web using DuckDuckGo's API and returns results.
15
  Args:
16
- query (str): The search query.
17
- max_results (int): The maximum number of results to return.
18
  """
19
  search_tool = DuckDuckGoSearchTool(max_results=max_results)
20
  results = search_tool.forward(query)
 
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
  """Searches the web using DuckDuckGo's API and returns results.
15
  Args:
16
+ query: The search query.
17
+ max_results: The maximum number of results to return.
18
  """
19
  search_tool = DuckDuckGoSearchTool(max_results=max_results)
20
  results = search_tool.forward(query)