sirine1712 commited on
Commit
9925072
·
verified ·
1 Parent(s): efa3405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from duckduckgo_search import DDGS
7
 
8
 
9
  # Define a DuckDuckGo tool
10
- @Tool
11
  def duck_search(query: str) -> str:
12
  """Searches the web using DuckDuckGo for the given query and returns the top results."""
13
  with DDGS() as ddgs:
 
7
 
8
 
9
  # Define a DuckDuckGo tool
10
+ @tool
11
  def duck_search(query: str) -> str:
12
  """Searches the web using DuckDuckGo for the given query and returns the top results."""
13
  with DDGS() as ddgs: