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!
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.