Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,14 +34,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 35 |
|
| 36 |
@tool
|
| 37 |
-
def
|
| 38 |
-
"""A tool that
|
| 39 |
Args:
|
| 40 |
-
|
| 41 |
"""
|
| 42 |
-
|
| 43 |
-
newImage = image_generation_tool(str)
|
| 44 |
-
return f"The requested image is {newImage}"
|
| 45 |
|
| 46 |
final_answer = FinalAnswerTool()
|
| 47 |
|
|
|
|
| 34 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
| 35 |
|
| 36 |
@tool
|
| 37 |
+
def first_fun(pplname: str) -> str:
|
| 38 |
+
"""A tool that read a name and provide a greeting.
|
| 39 |
Args:
|
| 40 |
+
pplname: the name of a person that needs greeting (e.g. Sandy).
|
| 41 |
"""
|
| 42 |
+
return "pplname"
|
|
|
|
|
|
|
| 43 |
|
| 44 |
final_answer = FinalAnswerTool()
|
| 45 |
|