Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|
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)
|
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:
|