Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,11 +11,13 @@ from Gradio_UI import GradioUI
|
|
| 11 |
@tool
|
| 12 |
def DuckDuckGoSearchTool(arg1: str, arg2: str)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
|
|
|
| 14 |
Args:
|
| 15 |
arg1: the main topic or search term
|
| 16 |
arg2: an additional keyword to refine the search
|
| 17 |
|
| 18 |
return "A string with the top 3 search results titles and links"
|
|
|
|
| 19 |
|
| 20 |
@tool
|
| 21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 11 |
@tool
|
| 12 |
def DuckDuckGoSearchTool(arg1: str, arg2: str)-> str: #it's import to specify the return type
|
| 13 |
#Keep this format for the description / args / args description but feel free to modify the tool
|
| 14 |
+
""""
|
| 15 |
Args:
|
| 16 |
arg1: the main topic or search term
|
| 17 |
arg2: an additional keyword to refine the search
|
| 18 |
|
| 19 |
return "A string with the top 3 search results titles and links"
|
| 20 |
+
"""
|
| 21 |
|
| 22 |
@tool
|
| 23 |
def get_current_time_in_timezone(timezone: str) -> str:
|