-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Implement left and right click in Gallery
component and show implicit images in Gallery
grid
#4995
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🎉 Chromatic build completed! There are 0 visual changes to review. |
All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-4995-all-demos You can install the changes in this PR by running: pip install https://gradio-builds.s3.amazonaws.com/41c83070b01632084e7d29123048a96c1e261407/gradio-3.38.0-py3-none-any.whl |
…radio into improve-gallery-css
🦄 change detectedThis Pull Request includes changes to the following packages.
With the following changelog entry.
Maintainers or the PR author can modify the PR title to modify this entry.
|
gr.Gallery
componentGallery
component and show implicit images in Gallery
grid
…radio into improve-gallery-css
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @hannahblair ! Verified both fixes here: https://huggingface.co/spaces/freddyaboulton/gradio-issue-4497-gallery-collapsed
Description
This PR adds improvements to Gallery as part of the component cleanup.
Closes:
#4585
#4497
Demo code (create a dir
/images
containing over 4 images to test the hidden images fix):🎯 PRs Should Target Issues
Before your create a PR, please check to see if there is an existing issue for this change. If not, please create an issue before you create this PR, unless the fix is very small.
Not adhering to this guideline will result in the PR being closed.
Tests & Changelog
PRs will only be merged if tests pass on CI. To run the tests locally, please set up your Gradio environment locally and run the tests:
bash scripts/run_all_tests.sh
You may need to run the linters:
bash scripts/format_backend.sh
andbash scripts/format_frontend.sh
Unless the pull request is labeled with the "no-changelog-update" label by a maintainer of the repo, all pull requests must update the changelog located in
CHANGELOG.md
:Please add a brief summary of the change to the Upcoming Release section of the
CHANGELOG.md
file and includea link to the PR (formatted in markdown) and a link to your github profile (if you like). For example, "* Added a cool new feature by
[@myusername](link-to-your-github-profile)
in[PR 11111](https://github.com/gradio-app/gradio/pull/11111)
".