Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,13 +8,13 @@ from Gradio_UI import GradioUI
|
|
| 8 |
# Tool to fetch car brands based on country name
|
| 9 |
@tool
|
| 10 |
def get_car_brands_by_country(country: str) -> str:
|
| 11 |
-
"""Fetches
|
| 12 |
|
| 13 |
Args:
|
| 14 |
country (str): The name of the country (e.g., 'Germany', 'Japan').
|
| 15 |
|
| 16 |
Returns:
|
| 17 |
-
str: A
|
| 18 |
"""
|
| 19 |
search_tool = DuckDuckGoSearchTool()
|
| 20 |
query = f"major car brands from {country}"
|
|
@@ -65,3 +65,4 @@ agent = CodeAgent(
|
|
| 65 |
GradioUI(agent).launch()
|
| 66 |
|
| 67 |
|
|
|
|
|
|
| 8 |
# Tool to fetch car brands based on country name
|
| 9 |
@tool
|
| 10 |
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): The name of the country (e.g., 'Germany', 'Japan').
|
| 15 |
|
| 16 |
Returns:
|
| 17 |
+
str: A string listing major car brands from the specified country.
|
| 18 |
"""
|
| 19 |
search_tool = DuckDuckGoSearchTool()
|
| 20 |
query = f"major car brands from {country}"
|
|
|
|
| 65 |
GradioUI(agent).launch()
|
| 66 |
|
| 67 |
|
| 68 |
+
|