You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I reuse code with a tqdm progress bar in a jupyter notebook, I can automatically get a beautiful HTML progress bar. Nowdays, I often prefer to work in an interactive Streamlit app, however, where I do not have this luxury. I now either have to put "ugly" streamlit code inside my generic non-streamlit code, write some kind of generic wrapper to defer the progress bar to either Streamlit or TQDM, or just suck it up.
Is there support for automatically detecting if code is running in Streamlit (like is possible in notebooks) and using the streamlit component instead?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all!
When I reuse code with a
tqdm
progress bar in a jupyter notebook, I can automatically get a beautiful HTML progress bar. Nowdays, I often prefer to work in an interactive Streamlit app, however, where I do not have this luxury. I now either have to put "ugly" streamlit code inside my generic non-streamlit code, write some kind of generic wrapper to defer the progress bar to either Streamlit or TQDM, or just suck it up.Is there support for automatically detecting if code is running in Streamlit (like is possible in notebooks) and using the streamlit component instead?
Beta Was this translation helpful? Give feedback.
All reactions