mmmapms commited on
Commit
44b547b
·
verified ·
1 Parent(s): ed3039f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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