DTStudios commited on
Commit
8f561bc
·
verified ·
1 Parent(s): 51e3686

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,10 +11,10 @@ from tools.web_search import DuckDuckGoSearchTool
11
  @tool
12
  def DuckDuckGoSearchTool (web_search: str) -> str:
13
  """"A tool Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."""
14
- inputs = {'query': {'type': 'string', 'description': 'The search query to perform.'}}
15
  output_type = "string"
16
 
17
- def __init__(self, max_results=10, **kwargs):
18
  super().__init__()
19
  self.max_results = max_results
20
  try:
 
11
  @tool
12
  def DuckDuckGoSearchTool (web_search: str) -> str:
13
  """"A tool Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."""
14
+ inputs = {'query': {'type': 'string','description': 'The search query to perform.'}}
15
  output_type = "string"
16
 
17
+ def __init__(self, max_results=10, **kwargs):
18
  super().__init__()
19
  self.max_results = max_results
20
  try: