Spaces:
Sleeping
Sleeping
Update app.py
Browse filesupdated the description
app.py
CHANGED
|
@@ -21,9 +21,9 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 21 |
@tool
|
| 22 |
def get_weather(city:str)-> str: #it's import to specify the return type
|
| 23 |
""" A tool to Fetch weather of a given city
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
"""
|
| 28 |
if not city or city.strip() == "":
|
| 29 |
return "No Data Found"
|
|
|
|
| 21 |
@tool
|
| 22 |
def get_weather(city:str)-> str: #it's import to specify the return type
|
| 23 |
""" A tool to Fetch weather of a given city
|
| 24 |
+
Args:
|
| 25 |
+
city: name of the city (string)
|
| 26 |
+
returns: weather information of the City as string.
|
| 27 |
"""
|
| 28 |
if not city or city.strip() == "":
|
| 29 |
return "No Data Found"
|