Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,17 +10,17 @@ from Gradio_UI import GradioUI
|
|
| 10 |
|
| 11 |
@tool
|
| 12 |
def name_meaning(name: str) -> str:
|
| 13 |
-
"""Find
|
| 14 |
Args:
|
| 15 |
-
name:
|
| 16 |
"""
|
| 17 |
return (
|
| 18 |
-
f"
|
| 19 |
-
f"
|
| 20 |
-
f"Also mention the culture/language of origin and any notable variants."
|
| 21 |
)
|
| 22 |
|
| 23 |
|
|
|
|
| 24 |
@tool
|
| 25 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 26 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 10 |
|
| 11 |
@tool
|
| 12 |
def name_meaning(name: str) -> str:
|
| 13 |
+
"""Find meaning and origin of a given name using web search.
|
| 14 |
Args:
|
| 15 |
+
name: Name to look up.
|
| 16 |
"""
|
| 17 |
return (
|
| 18 |
+
f"Use DuckDuckGoSearchTool to search for the meaning and origin of '{name}'. "
|
| 19 |
+
f"Then summarize in 3–5 bullet points. Include origin/culture and variants."
|
|
|
|
| 20 |
)
|
| 21 |
|
| 22 |
|
| 23 |
+
|
| 24 |
@tool
|
| 25 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 26 |
"""A tool that fetches the current local time in a specified timezone.
|