diff --git a/src/streamlit_app.py b/src/streamlit_app.py index ea52b9b3..c724cca6 100644 --- a/src/streamlit_app.py +++ b/src/streamlit_app.py @@ -1,3 +1,4 @@ +import random import streamlit as st import streamlit.components.v1 as components import requests @@ -51,6 +52,7 @@ def show_df_as_result_table(): clear_cache_btn = cc.button( label='Clear Cached Data', use_container_width=True, + key=random.randint(), ) if clear_cache_btn: os.system('rm stock_data_*.pkl')