The ImageEditor component has been refreshed to make it more user-friendly and reliable.
This release contains a host of improvements to the ImageEditor component, that will be of particular interest to those builing real-time image editing applications or complex image processing pipelines:
Cleaner and more compact interface.
New option to hide the layer controls for a more minimal UI.
Improved stability when updating the sources programmatically.
Improved support for input, upload, change and apply events.
Support for realtime drawing via the change event.
#80286fafce0 - ensure maps are correctly shallow cloned when updating state. Thanks @pngwn!
#797479e0aa8 - Fix heartbeat in the js client to be Lite compatible. Thanks @whitphx!
#80028903415 - Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton!
#8046d6c289b - round [x, y, w, h] before cropping to avoid unexpected interpolation on pixel values. Thanks @ernestchu!
#8011f17d1a0 - Add an explicit dependency of urllib3~=2.0 and update processing_utils.save_url_to_cache to use urllib3 for Lite support. Thanks @whitphx!
The ImageEditor component has been refreshed to make it more user-friendly and reliable.
This release contains a host of improvements to the ImageEditor component, that will be of particular interest to those building real-time image editing applications or complex image processing pipelines:
Cleaner and more compact interface.
New option to hide the layer controls for a more minimal UI.
Improved stability when updating the sources programmatically.
Improved support for input, upload, change and apply events.
Support for realtime drawing via the change event.
#80286fafce0 - ensure maps are correctly shallow cloned when updating state. Thanks @pngwn!
#797479e0aa8 - Fix heartbeat in the js client to be Lite compatible. Thanks @whitphx!
#80028903415 - Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton!
#8046d6c289b - round [x, y, w, h] before cropping to avoid unexpected interpolation on pixel values. Thanks @ernestchu!
#8011f17d1a0 - Add an explicit dependency of urllib3~=2.0 and update processing_utils.save_url_to_cache to use urllib3 for Lite support. Thanks @whitphx!
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps gradio from 4.26.0 to 4.27.0.
Release notes
Sourced from gradio's releases.
Changelog
Sourced from gradio's changelog.
Commits
ddc5d38
chore: update versions (#7992)79d5285
fix (#8064)cecd6e4
Update dependency iframe-resizer to v4.3.10 (#8062)074ce38
ensure theImageEditor
works correctly with layers andchange
events (#8059)92139f3
refresh theImageEditor
UI (#8042)d6c289b
round [x, y, w, h] before cropping to avoid unexpected interpolation on pixel...0424c75
Updatetyper
to drop[all]
as it is no longer needed (#8050)5767310
Adding wrapping-layouts guide (#7953)522daf7
Patchasync_save_url_to_cache
for Lite (#8026)55ef4a5
Fixes Chatbot Image Sizing (#8025)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show