Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,8 +17,8 @@ import os
|
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
-
|
| 21 |
-
alphacast = Alphacast(
|
| 22 |
dataset = alphacast.datasets.dataset(5664)
|
| 23 |
df = dataset.download_data(format = "pandas", startDate=None, endDate=None, filterVariables = [], filterEntities = {})
|
| 24 |
data = df[["country","Date","Real Consumption at constant 2017 national prices (In mil. 2017US$)",
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
+
key = os.getenv('key_alphacast')
|
| 21 |
+
alphacast = Alphacast(key)
|
| 22 |
dataset = alphacast.datasets.dataset(5664)
|
| 23 |
df = dataset.download_data(format = "pandas", startDate=None, endDate=None, filterVariables = [], filterEntities = {})
|
| 24 |
data = df[["country","Date","Real Consumption at constant 2017 national prices (In mil. 2017US$)",
|