Spaces:
Sleeping
Sleeping
get weather
Browse files
app.py
CHANGED
@@ -42,6 +42,11 @@ def get_population(country:str)-> str: #it's import to specify the return type
|
|
42 |
arg2: the second argument
|
43 |
"""
|
44 |
return f"The population on {country} is 65,010,585"
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
final_answer = FinalAnswerTool()
|
47 |
model = HfApiModel(
|
|
|
42 |
arg2: the second argument
|
43 |
"""
|
44 |
return f"The population on {country} is 65,010,585"
|
45 |
+
|
46 |
+
|
47 |
+
@tool
|
48 |
+
def get_weather(city:str) -> str:
|
49 |
+
|
50 |
|
51 |
final_answer = FinalAnswerTool()
|
52 |
model = HfApiModel(
|