Hey @jaypinho ,
If you’re trying to reload or refresh your preview page, Streamlit allows Javascript code snippets to be inserted. Check this similar issue below: How to embed javascript into streamlit?
I would also suggest trying to rebuild your app with the Streamlit JavaScript Component: streamlit-javascript · PyPI