rchrdgwr commited on
Commit
14da8ca
·
verified ·
1 Parent(s): b44139e

get weather

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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(