Spaces:
Sleeping
Sleeping
Added New Tool
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def get_current_weather(place: str)-> str: #it's import to specify the return ty
|
|
| 19 |
url = "https://api.openweathermap.org/data/2.5/weather"
|
| 20 |
params = {
|
| 21 |
"city": place
|
| 22 |
-
"
|
| 23 |
"units": "metric"
|
| 24 |
}
|
| 25 |
|
|
|
|
| 19 |
url = "https://api.openweathermap.org/data/2.5/weather"
|
| 20 |
params = {
|
| 21 |
"city": place
|
| 22 |
+
"appid": api_key
|
| 23 |
"units": "metric"
|
| 24 |
}
|
| 25 |
|