leolacerda commited on
Commit
91bd3b9
·
verified ·
1 Parent(s): 7d3cae9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,11 +11,11 @@ from Gradio_UI import GradioUI
11
  @tool
12
  def population(country_name:str)-> str: #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
- """A tool that does get the most recent number of habitants of a specific country.
15
  Args:
16
  country name: A string representing the name of a specific country (e.g., 'Brazil').
17
  """
18
- return f"The population of {country_name} is {number} people ({source_name}, {year})."
19
 
20
  @tool
21
  def get_current_time_in_timezone(timezone: str) -> str:
 
11
  @tool
12
  def population(country_name:str)-> str: #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
+ """A tool that does get the most recent number of people of a specific country.
15
  Args:
16
  country name: A string representing the name of a specific country (e.g., 'Brazil').
17
  """
18
+ return f"The population of country_name is number people (source_name, year)."
19
 
20
  @tool
21
  def get_current_time_in_timezone(timezone: str) -> str: