Abubakar Abid

Results 1616 comments of Abubakar Abid

I think this https://github.com/gradio-app/gradio/issues/8016#issuecomment-2599441467 is a good proposal, cc @elismasilva

> My thought would be to keep the current event param show_progress='hidden' to turn on/off any progress display, but add a param to the component definition show_progress=True/False. If the event...

The approach I'm thinking about is adding a parameter `show_progress_on` to the event listeners, that could take any component defined in your Gradio Blocks, and the progress indicator only appears...

IIRC the other reason we stopped doing this was that it affected event listeners that were attached to the component -- making a component invisible destroyed the event listeners.

This might be a good thing to do for 5.0 @pngwn?

Niceee I just needed this for the app I'm building 😆

Two quick comments: (1) I think `.launch()` would be a better place to put this parameter. I know we put a lot of global styling features in `gr.Blocks` like `css`...

> We already have fill_height in gr.Blocks() though Ah good point, ok then > I don't think that's necessary until we see a request for it, seems like overkill. Hmm...

Ok the Blocks init is fine, but just a few things: * On very wide screens, this will cause Gradio apps to look very stretched out and distorted. Instead of...