Skip to content

Commit 52bd9ea

Browse files
committed
Update incorrect clear cache call
1 parent ed09f58 commit 52bd9ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
status = refresh_data()
2828

2929
if status["status"] == "success":
30-
st.clear_cache()
30+
# Clear cache to ensure fresh data is loaded
31+
st.cache_data.clear()
3132
st.success(status["message"])
3233
else:
3334
st.error(status["message"])

0 commit comments

Comments
 (0)