Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,11 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 36 |
|
| 37 |
# Dummy function
|
| 38 |
@tool
|
| 39 |
-
def get_weather(location):
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
return f"the weather in {location} is sunny with low temperatures. \n"
|
| 41 |
|
| 42 |
|
|
|
|
| 36 |
|
| 37 |
# Dummy function
|
| 38 |
@tool
|
| 39 |
+
def get_weather(location) -> str:
|
| 40 |
+
"""A tool that gets the weather for a given city
|
| 41 |
+
Args:
|
| 42 |
+
location: A string representing a city
|
| 43 |
+
"""
|
| 44 |
return f"the weather in {location} is sunny with low temperatures. \n"
|
| 45 |
|
| 46 |
|