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