Highlights
Refreshed ImageEditor
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
andapply
events. - Support for realtime drawing via the
change
event. - Many bug fixes!
Features
- #7998
06bdf0e
- Restore chatbot formatting. Thanks @aliabid94! - #7986
05f935c
- GRADIO_SHARE Environment Variable. Thanks @cocktailpeanut! - #8062
cecd6e4
- Update dependency iframe-resizer to v4.3.10. Thanks @renovate! - #8042
92139f3
- refresh theImageEditor
UI. Thanks @pngwn! - #8000
a0c2848
- Fix internal server error in HF OAuth workflow. Thanks @Wauplin! - #7887
5f0248e
- When authenticating with HF OAuth, stay in same tab. Thanks @Wauplin! - #8059
074ce38
- ensure theImageEditor
works correctly with layers andchange
events. Thanks @pngwn! - #7845
dbb7373
- ensureImageEditor
events work as expected. Thanks @pngwn! - #7975
c9ddd84
- Update the Lite custom element parser. Thanks @whitphx! - #8012
299c87c
- Document that show_copy_button in gr.Textbox is not visible when show_label=False. Thanks @lappemic!
Fixes
- #8025
55ef4a5
- Fixes Chatbot Image Sizing. Thanks @dawoodkhan82! - #8014
e10ec6a
- Fix multimode interface double box on file upload. Thanks @TALLEC-Scott! - #8028
6fafce0
- ensure maps are correctly shallow cloned when updating state. Thanks @pngwn! - #7974
79e0aa8
- Fix heartbeat in the js client to be Lite compatible. Thanks @whitphx! - #8002
8903415
- Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton! - #8046
d6c289b
- round [x, y, w, h] before cropping to avoid unexpected interpolation on pixel values. Thanks @ernestchu! - #8011
f17d1a0
- Add an explicit dependency ofurllib3~=2.0
and updateprocessing_utils.save_url_to_cache
to useurllib3
for Lite support. Thanks @whitphx! - #7981
c1df2f8
- Fix example loading for custom components. Thanks @freddyaboulton! - #8026
522daf7
- Patchasync_save_url_to_cache
for Lite. Thanks @whitphx! - #7959
2a5cb97
- ensureImageEditor
always draws at the correct position. Thanks @hrrbay! - #8050
0424c75
- Updatetyper
to drop[all]
as it is no longer needed. Thanks @joennlae!