bmaphis commited on
Commit
121b282
·
verified ·
1 Parent(s): 4495b01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -24,12 +24,9 @@ def DuckDuckGoSearchTool(query_string:str,max_results:int) -> str: #it's import
24
  timelimit=None,
25
  max_results=max_results
26
  )
27
- return results
28
-
29
  except Exception as e:
30
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
31
-
32
- return "What magic will you build ?"
33
 
34
  @tool
35
  def get_current_time_in_timezone(timezone: str) -> str:
 
24
  timelimit=None,
25
  max_results=max_results
26
  )
27
+ return results
 
28
  except Exception as e:
29
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
 
 
30
 
31
  @tool
32
  def get_current_time_in_timezone(timezone: str) -> str: