Aakash010 commited on
Commit
23554eb
·
verified ·
1 Parent(s): 4a9a53f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -37,8 +37,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
37
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
38
 
39
 
40
- web_search_tool = DuckDuckGoSearchTool(max_results=5)
41
- search_results = web_search_tool()
 
 
 
42
 
43
 
44
  final_answer = FinalAnswerTool()
 
37
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
38
 
39
 
40
+ web_search_tool = DuckDuckGoSearchTool(max_results=5,query)
41
+ """A tool that lets you search on the internet .
42
+ Args:
43
+ max_results: Maximum number of search results to return.
44
+ query : Query to be searched"""
45
 
46
 
47
  final_answer = FinalAnswerTool()