Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def get_name_age(name:str)-> str: #it's import to specify the return type
|
|
| 26 |
except Exception as e:
|
| 27 |
return f"Error fetching age for {name} in data {e}"
|
| 28 |
|
| 29 |
-
return f"
|
| 30 |
|
| 31 |
@tool
|
| 32 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 26 |
except Exception as e:
|
| 27 |
return f"Error fetching age for {name} in data {e}"
|
| 28 |
|
| 29 |
+
return f"your name is {name} and you are {age} years old."
|
| 30 |
|
| 31 |
@tool
|
| 32 |
def get_current_time_in_timezone(timezone: str) -> str:
|