I am not sure there is a beautiful solution to this, but you can disable the ‘original Running fetch_measures(…)’ by adding the show_spinner=False option on the cache decorator.
I am trying to hide the st.cache spinner by setting show_spinner=False as @PeterT and @vinzee showed above, but it doesn’t seem to have any effect - I still get the ‘running…’ message when the function is first executed.
I am using Streamlit v0.82.0 - is it perhaps a bug in this version, or am I doing something wrong?
It would be helpful if you could share an example of your code Just to check, the “running…” message you see is it the one in the top right corner or the one in a yellow box?
I just added the decorator: @st.cache(show_spinner=False)
to the function I wanted to cache. I am indeed referring to the ‘running …’ message in the yellow box still persisting.
Perhaps I should also mention I am running streamlit in a Linux environment.
Hi PeterT, you are completely right - turns out I was confusing two functions with similar names, and I never added the show_spinner=False argument to cache for this particular function!
Thanks for responding, apologies for the human error!