Spaces:
Sleeping
Sleeping
Commit
·
727035a
1
Parent(s):
0ca6b56
fixed token
Browse files
pages/1_Short_Term_Consumption.py
CHANGED
|
@@ -5,7 +5,7 @@ from utils import load_and_process_data, create_time_series_plot, display_statis
|
|
| 5 |
|
| 6 |
|
| 7 |
if 'api_token' not in st.session_state:
|
| 8 |
-
st.session_state.api_token =
|
| 9 |
|
| 10 |
page_id = 1
|
| 11 |
if 'current_page' not in st.session_state:
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
if 'api_token' not in st.session_state:
|
| 8 |
+
st.session_state.api_token = os.getenv('NILM_API_TOKEN')
|
| 9 |
|
| 10 |
page_id = 1
|
| 11 |
if 'current_page' not in st.session_state:
|