Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,8 @@ from Gradio_UI import GradioUI
|
|
| 12 |
def get_weather(city: str) -> str:
|
| 13 |
"""
|
| 14 |
Fetches weather data for a given city using wttr.in and returns it as a formatted string.
|
| 15 |
-
|
|
|
|
| 16 |
Returns:
|
| 17 |
str: Weather details including condition, temperature, humidity, and wind speed.
|
| 18 |
"""
|
|
|
|
| 12 |
def get_weather(city: str) -> str:
|
| 13 |
"""
|
| 14 |
Fetches weather data for a given city using wttr.in and returns it as a formatted string.
|
| 15 |
+
Args:
|
| 16 |
+
City: A string representing valid city name.
|
| 17 |
Returns:
|
| 18 |
str: Weather details including condition, temperature, humidity, and wind speed.
|
| 19 |
"""
|