Ajwad commited on
Commit
a0b729d
·
verified ·
1 Parent(s): dad24e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -20,18 +20,6 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
20
  """
21
  return "What magic will you build ?"
22
 
23
- @tool
24
- def websearch_tool(search_query:str) -> str:
25
- """A tool that searches the web for a given query string
26
- Args:
27
- search_query: the query to search
28
- """
29
- web_search_tool = DuckDuckGoSearchTool(max_results=5)
30
- results = web_search_tool(search_query)
31
-
32
- return results
33
-
34
-
35
  @tool
36
  def add_two_numbers(arg1:int, arg2:int) -> int:
37
  """A tool that adds two numbers
 
20
  """
21
  return "What magic will you build ?"
22
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  @tool
24
  def add_two_numbers(arg1:int, arg2:int) -> int:
25
  """A tool that adds two numbers