gradio
gradio copied to clipboard
Gallery events WIP
Colab with @pngwn to add click()
and change()
events to Gallery
.
- The
click()
event should fire when an image is clicked, so that it can be used for some downstream function - The
change()
event should fire when the Gallery loads images, allowing it to trigger downstream actions
Fixes: #1976, fixes: #1379 which should be marked as duplicates
All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-2315-all-demos
@pngwn I'll close this PR for now?
The PR seems to be closed without merging, but it would have fixed many reported issues. Has it not worked as expected? (I see no tests in the PR)
We were unable to get a fix that truly worked. However, I agree that this is a pretty important issue. We'll look into this in the near future
Is it on the roadmap, if I may ask? E.g. do we have a vague feeling of the ETA? :-)
It is on the roadmap, but not something we can attend to in the next month at least. Feel free to chime into #1976 and we'll try to give it attention as soon as we can