Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -261,7 +261,7 @@ def load_ibtracs_data():
|
|
261 |
local_path = os.path.join(DATA_PATH, filename)
|
262 |
if not os.path.exists(local_path):
|
263 |
logging.info(f"Downloading {basin} basin file...")
|
264 |
-
response = requests.get(
|
265 |
response.raise_for_status()
|
266 |
with open(local_path, 'wb') as f:
|
267 |
f.write(response.content)
|
|
|
261 |
local_path = os.path.join(DATA_PATH, filename)
|
262 |
if not os.path.exists(local_path):
|
263 |
logging.info(f"Downloading {basin} basin file...")
|
264 |
+
response = requests.get(IBTRACS_URI+filename)
|
265 |
response.raise_for_status()
|
266 |
with open(local_path, 'wb') as f:
|
267 |
f.write(response.content)
|