Spaces:
Sleeping
Sleeping
Update app.py
Browse filesRemoved extra comments in weather tool
app.py
CHANGED
|
@@ -20,8 +20,8 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 20 |
return "What magic will you build ?"
|
| 21 |
|
| 22 |
@tool
|
| 23 |
-
def get_weather(location:str)-> str:
|
| 24 |
-
|
| 25 |
"""A tool that fetches the current weather data for the specified location.
|
| 26 |
Args:
|
| 27 |
location: A string representung a valid location (e.g.,'New_York','Mumbai','Sydney')
|
|
|
|
| 20 |
return "What magic will you build ?"
|
| 21 |
|
| 22 |
@tool
|
| 23 |
+
def get_weather(location:str)-> str:
|
| 24 |
+
|
| 25 |
"""A tool that fetches the current weather data for the specified location.
|
| 26 |
Args:
|
| 27 |
location: A string representung a valid location (e.g.,'New_York','Mumbai','Sydney')
|