hgmiya commited on
Commit
f46a2a2
·
verified ·
1 Parent(s): 7d29126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
37
 
38
 
39
  @tool
40
- def get_city_id(city_name: str): -> int:
41
  """A tool that get city ID from city name.
42
 
43
  Args:
@@ -70,7 +70,7 @@ def get_city_id(city_name: str): -> int:
70
  return None
71
 
72
  @tool
73
- def get_weather(city_id: int): -> str:
74
  """Get city weather forecast from city id.
75
 
76
  Args:
 
37
 
38
 
39
  @tool
40
+ def get_city_id(city_name: str) -> int:
41
  """A tool that get city ID from city name.
42
 
43
  Args:
 
70
  return None
71
 
72
  @tool
73
+ def get_weather(city_id: int) -> str:
74
  """Get city weather forecast from city id.
75
 
76
  Args: