safia-8 commited on
Commit
3b89474
·
verified ·
1 Parent(s): 092ad0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
17
  arg2: the second argument
18
  """
19
  search=DuckDuckGoSearchTool()
20
- result=search.run(arg1)
21
  return result
22
 
23
  @tool
 
17
  arg2: the second argument
18
  """
19
  search=DuckDuckGoSearchTool()
20
+ result=search.run(arg1, max_results=3)
21
  return result
22
 
23
  @tool