I need to perform some heavy operation with the dataframe and make the app user see the progress.
The bar looks fine and shows the progress correctly. But if the app is somehow interrupted (for example, the browser tab is closed) before the progress_apply finishes, the app will get into an infinite loop on the next run. The only thing that helps in this case is rebooting the app (restaring the console).
I’ve tried using st.session_state and various other things but nothing works. Does anybody know any solution to this?
Thanks for using stqdm.
This seems to be related to this issue:
Are you on windows? Can you test the lock trick in the response? It looks like the issue with the interaction between tqdm & streamlit that happens mainly on windows.