Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def web_search(query: str) -> str:
|
|
| 20 |
"""
|
| 21 |
try:
|
| 22 |
# Initialize the DuckDuckGo search tool
|
| 23 |
-
search_tool = DuckDuckGoSearchTool(
|
| 24 |
|
| 25 |
# Perform the search using the forward method
|
| 26 |
results = search_tool.forward(query)
|
|
|
|
| 20 |
"""
|
| 21 |
try:
|
| 22 |
# Initialize the DuckDuckGo search tool
|
| 23 |
+
search_tool = DuckDuckGoSearchTool()
|
| 24 |
|
| 25 |
# Perform the search using the forward method
|
| 26 |
results = search_tool.forward(query)
|