xenchai commited on
Commit
91600d0
·
verified ·
1 Parent(s): 8f683ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -33,12 +33,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
33
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
34
  @tool
35
  def get_search_result(quer:str)->str:
36
- """A tool that fetches the search result upon giving the query.
37
- Args:
38
  quer:A String representing a valid set of characters to search .(e.g.,'what is a swat team?')
39
- """
40
- duckduckgotool=DuckDuckGoSearchTool(quer)
41
- return duckduckgotool
42
 
43
 
44
  # Initialize the final answer tool
 
33
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
34
  @tool
35
  def get_search_result(quer:str)->str:
36
+ """A tool that fetches the search result upon giving the query.
37
+ Args:
38
  quer:A String representing a valid set of characters to search .(e.g.,'what is a swat team?')
39
+ """
40
+ duckduckgotool=DuckDuckGoSearchTool(quer)
41
+ return duckduckgotool
42
 
43
 
44
  # Initialize the final answer tool