Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,7 @@ github_token = st.secrets["GitHub_Token_Margarida"]
|
|
48 |
|
49 |
if github_token:
|
50 |
df, df_filtered = load_data_predictions(github_token)
|
51 |
-
|
52 |
-
df = df[df['Date'] <= '2024-10-04']
|
53 |
-
df_filtered = df_filtered[df_filtered['Date'] <= '2024-10-04']
|
54 |
else:
|
55 |
st.warning("Please enter your GitHub Personal Access Token to proceed.")
|
56 |
|
@@ -117,7 +115,6 @@ def conformal_predictions(data):
|
|
117 |
# Main layout of the app
|
118 |
col1, col2 = st.columns([5, 2]) # Adjust the ratio to better fit your layout needs
|
119 |
with col1:
|
120 |
-
st.markdown("**⚠️ Data discrepancies detected from the ENTSO-E Transparency Platform API. Forecasts will be updated as soon as this is resolved.**")
|
121 |
|
122 |
st.title("Belgium: Electricity Price Forecasting")
|
123 |
|
|
|
48 |
|
49 |
if github_token:
|
50 |
df, df_filtered = load_data_predictions(github_token)
|
51 |
+
|
|
|
|
|
52 |
else:
|
53 |
st.warning("Please enter your GitHub Personal Access Token to proceed.")
|
54 |
|
|
|
115 |
# Main layout of the app
|
116 |
col1, col2 = st.columns([5, 2]) # Adjust the ratio to better fit your layout needs
|
117 |
with col1:
|
|
|
118 |
|
119 |
st.title("Belgium: Electricity Price Forecasting")
|
120 |
|