Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 15 |
Args:
|
| 16 |
country name: A string representing the name of a specific country (e.g., 'Brazil').
|
| 17 |
"""
|
| 18 |
-
return f"The population of
|
| 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:
|