Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,17 +8,8 @@ from tools.final_answer import FinalAnswerTool
|
|
| 8 |
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 web_search(query:str)-> str:
|
| 13 |
-
|
| 14 |
-
"""Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results.
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
description or search paramater(e.g. what is the capital town of Ghana)
|
| 19 |
-
|
| 20 |
-
"""
|
| 21 |
-
return None
|
| 22 |
|
| 23 |
@tool
|
| 24 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
@tool
|
| 15 |
def get_current_time_in_timezone(timezone: str) -> str:
|