Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,8 @@ github_token = st.secrets["GitHub_Token_Margarida"]
|
|
49 |
if github_token:
|
50 |
df, df_filtered = load_data_predictions(github_token)
|
51 |
# Your existing logic to use df and df_filtered
|
|
|
|
|
52 |
else:
|
53 |
st.warning("Please enter your GitHub Personal Access Token to proceed.")
|
54 |
|
|
|
49 |
if github_token:
|
50 |
df, df_filtered = load_data_predictions(github_token)
|
51 |
# Your existing logic to use df and df_filtered
|
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 |
|