Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def my_custom_tool(city:str, state:str)-> str: #it's import to specify the retur
|
|
25 |
"q": city,
|
26 |
}
|
27 |
|
28 |
-
response =
|
29 |
|
30 |
if response.status_code == 200:
|
31 |
data = response.json()
|
|
|
25 |
"q": city,
|
26 |
}
|
27 |
|
28 |
+
response = requests.get(url_city, params=params)
|
29 |
|
30 |
if response.status_code == 200:
|
31 |
data = response.json()
|