Replace streamlit progress bar for stqdm progress bar.
ZeroCool940711 opened this issue · 0 comments
Hi there, I created recently a PR (#20) with some small QOL improvements and after that I decided to continue improving the code a bit so it was easier to use and more comfortable but got stuck trying to replace the Streamlit progress bar (st.progress()) with the STQDM alternative, I's probably something simple to do but my brain just gave out, I would appreciate if someone could help me figure out how to do it.
The reason I want to replace the streamlit progress bar with stqdm is that it provides some extra features that will most likely be helpful when trying to figure out how to optimize things for speed vs quality. For example, here is a simple view comparison of how the progress bar of STQDM looks:
And here is what the native Streamlit progress bar looks like:
As you can probably see there is a bit more information on the STQDM progress bar, things like the current progress and and how much is still left, the time it has been running for, the time remaining, but the thing I find more important than all that is the speed in iterations per seconds, this alone can help figuring out how each option affects the generation process and it can help finding out what option to change to increase the generation speed.