Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from Gradio_UI import GradioUI
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
-
def limited_search(
|
| 13 |
"""A tool that performs a DuckDuckGo search with the number of search results specified in initial user input.
|
| 14 |
Args:
|
| 15 |
search_query: The string search query.
|
|
|
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
+
def limited_search(search_query: str, num_results: int) -> str:
|
| 13 |
"""A tool that performs a DuckDuckGo search with the number of search results specified in initial user input.
|
| 14 |
Args:
|
| 15 |
search_query: The string search query.
|