Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ from Gradio_UI import GradioUI
|
|
| 19 |
# return "What magic will you build ?"
|
| 20 |
|
| 21 |
@tool
|
| 22 |
-
def
|
| 23 |
"""
|
| 24 |
Function that performs a DuckDuckGo search using the DuckDuckGoSearchTool class.
|
| 25 |
Args:
|
|
|
|
| 19 |
# return "What magic will you build ?"
|
| 20 |
|
| 21 |
@tool
|
| 22 |
+
def duck_search(query: str, max_results: int = 5) -> str:
|
| 23 |
"""
|
| 24 |
Function that performs a DuckDuckGo search using the DuckDuckGoSearchTool class.
|
| 25 |
Args:
|