updated cache_resource time delta
Browse filesupdated cache_resource time delta to 1 day so it reloads this from dropbox
- 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"
|