Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace streamlit progress bar for stqdm progress bar. #21

Open
ZeroCool940711 opened this issue Aug 14, 2022 · 0 comments
Open

Replace streamlit progress bar for stqdm progress bar. #21

ZeroCool940711 opened this issue Aug 14, 2022 · 0 comments

Comments

@ZeroCool940711
Copy link

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:
image

And here is what the native Streamlit progress bar looks like:
image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant