riskjuggler commited on
Commit
369dc03
·
verified ·
1 Parent(s): 9e9e89d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -43,6 +43,9 @@ def duckduckgo_web_search(query: str) -> list:
43
  Returns:
44
  A list of search results containing URLs and descriptions.
45
  """
 
 
 
46
 
47
  @tool
48
  def mirror_user(happy: str) -> str:
 
43
  Returns:
44
  A list of search results containing URLs and descriptions.
45
  """
46
+ search_tool = DuckDuckGoSearchTool()
47
+ results = search_tool.run(query)
48
+ return results
49
 
50
  @tool
51
  def mirror_user(happy: str) -> str: