Spaces:
Sleeping
Sleeping
serichard1
commited on
Commit
·
b0c27d2
1
Parent(s):
3afc056
Add application file local host
Browse files- gradio_mcp_server.py +1 -1
gradio_mcp_server.py
CHANGED
|
@@ -22,7 +22,7 @@ async def get_weather_data(station_code: str, page: int = 1, start: str = None,
|
|
| 22 |
Returns:
|
| 23 |
JSON string containing weather data or error information
|
| 24 |
"""
|
| 25 |
-
base_url = "
|
| 26 |
url = f"{base_url}/{station_code}/hourly-reports.json"
|
| 27 |
|
| 28 |
params = {
|
|
|
|
| 22 |
Returns:
|
| 23 |
JSON string containing weather data or error information
|
| 24 |
"""
|
| 25 |
+
base_url = "https://lexicon.osfarm.org/weather/stations"
|
| 26 |
url = f"{base_url}/{station_code}/hourly-reports.json"
|
| 27 |
|
| 28 |
params = {
|