ValentinGuigon commited on
Commit
2296446
·
verified ·
1 Parent(s): 54b30ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def web_search(query: str) -> str:
20
  """
21
  try:
22
  # Initialize the DuckDuckGo search tool
23
- search_tool = DuckDuckGoSearchTool(max_results=max_results)
24
 
25
  # Perform the search using the forward method
26
  results = search_tool.forward(query)
 
20
  """
21
  try:
22
  # Initialize the DuckDuckGo search tool
23
+ search_tool = DuckDuckGoSearchTool()
24
 
25
  # Perform the search using the forward method
26
  results = search_tool.forward(query)