Cbelem commited on
Commit
4dac9ca
·
verified ·
1 Parent(s): 8b259e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ class CustomDuckDuckGoSearchTool(DuckDuckGoSearchTool):
41
  output_type = "string"
42
 
43
  def __init__(self, max_results: int = 10, rate_limit: float | None = 1.0, backend: str = "auto", **kwargs):
44
- super().__init__(max_results=max_results, rate_limit=rate_limit, **kwargs)
45
  self.backend = backend # Add "backend" as new parameter
46
 
47
  def forward(self, query: str) -> str:
 
41
  output_type = "string"
42
 
43
  def __init__(self, max_results: int = 10, rate_limit: float | None = 1.0, backend: str = "auto", **kwargs):
44
+ super().__init__(max_results=max_results, **kwargs)
45
  self.backend = backend # Add "backend" as new parameter
46
 
47
  def forward(self, query: str) -> str: