dzyla commited on
Commit
3e6f92e
1 Parent(s): 149c45c

updated cache_resource time delta

Browse files

updated cache_resource time delta to 1 day so it reloads this from dropbox

Files changed (1) hide show
  1. streamlit_app.py +1 -1
streamlit_app.py CHANGED
@@ -260,7 +260,7 @@ def download_data_from_dropbox():
260
  placeholder.empty()
261
 
262
  # Load data and embeddings
263
- @st.cache_resource
264
  def load_data_embeddings():
265
  existing_data_path = "aggregated_data"
266
  new_data_directory = "db_update"
 
260
  placeholder.empty()
261
 
262
  # Load data and embeddings
263
+ @st.cache_resource(ttl="1d")
264
  def load_data_embeddings():
265
  existing_data_path = "aggregated_data"
266
  new_data_directory = "db_update"