-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Close Progress for the specified component #8016
Comments
Hi @DuskXi this show_progress parameter exists but it’s on the event itself e.g. click() rather than in the component! |
I concur with his proposal. |
@abidlabs could be possible for disable show_progress like show_progress = False by output compontent. If my event has outputs = [component1, component2] |
Yeah tbh I think that's a good idea, I'll comment on a relevant issue |
Is your feature request related to a problem? Please describe.
I need to update Plot information to gradient every epoch during the training process, but progress covers all outputs. At the same time, it seems that I also found in the experiment that gr.update() is not allowed to be used in click, and the call is invalid. This directly causes me to not be able to use progress if I want to update the chart. If I want to use progress, I have to endure the problem of the chart being overwritten.
Describe the solution you'd like
Provide a show_progress parameter in Component to determine whether this component displays a progress bar on the web.
Or use a context manager similar to with ShowProgress():
Or directly provide a component named ProgressBar to separate the progress bar from the component box that needs to display data.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: