iffetaybey commited on
Commit
8c72681
·
verified ·
1 Parent(s): a733e18
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,9 +15,9 @@ def web_search_tool(searchContent:str)-> str: #it's import to specify the return
15
  Args:
16
  searchContent: which keyword will be searched
17
  """
18
- results = DuckDuckGoSearchTool(max_results=5, rate_limit=2.0, searchContent)
19
 
20
- return results
21
 
22
  @tool
23
  def get_current_time_in_timezone(timezone: str) -> str:
 
15
  Args:
16
  searchContent: which keyword will be searched
17
  """
18
+ results = DuckDuckGoSearchTool(max_results=5, rate_limit=2.0)
19
 
20
+ return results(searchContent)
21
 
22
  @tool
23
  def get_current_time_in_timezone(timezone: str) -> str: