Jenasuraj commited on
Commit
6f1e8a3
·
verified ·
1 Parent(s): 1c5851f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 the 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 list of major car brands from that country.
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
+