Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
| 21 |
@tool
|
| 22 |
-
def get_city_weather(city:str)-> str: #it's import to specify the return type
|
| 23 |
-
"""
|
| 24 |
-
|
|
|
|
| 25 |
city: city name as string (e.g., 'London').
|
| 26 |
"""
|
| 27 |
if not city or city.strip() == "":
|
|
|
|
| 19 |
return "What magic will you build ?"
|
| 20 |
|
| 21 |
@tool
|
| 22 |
+
def get_city_weather(city: str)-> str: #it's import to specify the return type
|
| 23 |
+
"""
|
| 24 |
+
A tool to Fetch current weather of a given city
|
| 25 |
+
Args:
|
| 26 |
city: city name as string (e.g., 'London').
|
| 27 |
"""
|
| 28 |
if not city or city.strip() == "":
|