Spaces:
Sleeping
Sleeping
updated app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def get_car_brands_by_country(country: str) -> str:
|
|
| 11 |
"""Fetches a list of major car brands from a given country.
|
| 12 |
|
| 13 |
Args:
|
| 14 |
-
country (str):
|
| 15 |
|
| 16 |
Returns:
|
| 17 |
str: A string listing major car brands from the specified country.
|
|
@@ -29,6 +29,7 @@ def get_car_brands_by_country(country: str) -> str:
|
|
| 29 |
@tool
|
| 30 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 31 |
"""Fetches the current local time in a specified timezone.
|
|
|
|
| 32 |
|
| 33 |
Args:
|
| 34 |
timezone (str): The name of the timezone (e.g., 'America/New_York', 'Asia/Kolkata').
|
|
@@ -65,4 +66,3 @@ agent = CodeAgent(
|
|
| 65 |
GradioUI(agent).launch()
|
| 66 |
|
| 67 |
|
| 68 |
-
|
|
|
|
| 11 |
"""Fetches a list of major car brands from a given country.
|
| 12 |
|
| 13 |
Args:
|
| 14 |
+
country (str): A string representing the country name (e.g., 'Germany', 'Japan').
|
| 15 |
|
| 16 |
Returns:
|
| 17 |
str: A string listing major car brands from the specified country.
|
|
|
|
| 29 |
@tool
|
| 30 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 31 |
"""Fetches the current local time in a specified timezone.
|
| 32 |
+
By suraj
|
| 33 |
|
| 34 |
Args:
|
| 35 |
timezone (str): The name of the timezone (e.g., 'America/New_York', 'Asia/Kolkata').
|
|
|
|
| 66 |
GradioUI(agent).launch()
|
| 67 |
|
| 68 |
|
|
|