Spaces:
Sleeping
Sleeping
Edited arg description
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from Gradio_UI import GradioUI
|
|
| 12 |
def get_weather(city:str)-> str:
|
| 13 |
"""A tool that fetches the current weather for a given city using the wttr.in API.
|
| 14 |
Args:
|
| 15 |
-
city:
|
| 16 |
"""
|
| 17 |
try:
|
| 18 |
url = f"https://wttr.in/{city}?format=3" # compact 'City: weather'
|
|
|
|
| 12 |
def get_weather(city:str)-> str:
|
| 13 |
"""A tool that fetches the current weather for a given city using the wttr.in API.
|
| 14 |
Args:
|
| 15 |
+
city: A string representing the name of a city (e.g., 'Berlin', 'New York').
|
| 16 |
"""
|
| 17 |
try:
|
| 18 |
url = f"https://wttr.in/{city}?format=3" # compact 'City: weather'
|