Update dependency gradio to v6 #9
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.23.3→==6.4.0Release Notes
gradio-app/gradio (gradio)
v6.4.0Compare Source
Features
d035856- Fixes gr.JSON lines. Thanks @aliabid94!f04abc3- Refactor gr.HighlightedText. Thanks @hannahblair!07c5280- Addaxis_formatparameters for native plots, and fix SSR mode. Thanks @abidlabs!263c065- Migrate js/json to svelte5. Thanks @aliabid94!f04abc3- Allow transparent and undefined labels in gr.HighlightedText. Thanks @hannahblair!Fixes
0954db4- Fix Dependency docs. Thanks @aliabd!7a1c321- Bump svelte/kit for security reasons. Thanks @freddyaboulton!3115258- Remove textbox scrollbar if value is empty. Thanks @freddyaboulton!db86165- Migrates gr.File. Thanks @aliabid94!3b3b035- Fix Gallery upload after it has been populated. Thanks @freddyaboulton!eb13299- migrate datetime. Thanks @aliabid94!c833708- Fix label in gr.HTML. Thanks @hannahblair!44817db- fix(website): improve Event Listeners table dark mode readability. Thanks @DanielDerefaka!fb4b92a- Add volume control to gr.Video. Thanks @hysts!2afffc2- Migrate ParamTable syntax to svelte 5. Thanks @freddyaboulton!4ce4159- Fix DeepLink Bug. Thanks @freddyaboulton!6d9c2d7- Migrate Textbox to Svelte 5. Thanks @dawoodkhan82!f02c58e- Prevent empty button wrappers from rendering in gr.Chatbot. Thanks @hannahblair!ea2d3e9- Migrate Audio + Upload + Atoms to Svelte 5. Thanks @dawoodkhan82!7f2cf84- Add better related guides section to docs. Thanks @aliabd!5f654d7- Ensure HTML renders in gr.Chatbot. Thanks @hannahblair!299728b- fix: add ARIA landmarks for accessibility. Thanks @majiayu000!31cf0a6- Fix custom button click event triggers in dropdown. Thanks @freddyaboulton!976cd11- Fix html in Multiselect component. Thanks @freddyaboulton!1373713- Migrate Gallery to Svelte 5. Thanks @freddyaboulton!b48da51- Fix bug where Walkthrough Component Freezes. Thanks @freddyaboulton!a52be3f- Hide footer links when set to empty. Thanks @hannahblair!404f6a5- Migrate Markdown components to svelte 5. Thanks @freddyaboulton!c471e96- Migrates dropdown. Thanks @aliabid94!184968a- Add fade effect to overflowing text. Thanks @hannahblair!e202750- Fix bug where UploadProgress initializes with a null upload_id. Thanks @freddyaboulton!6edcea5- Fix dev mode. Thanks @pngwn!f4a14e7- Restore padding param in gr.HTML. Thanks @hannahblair!9a2bc0d- Re-enable SSR mode. Thanks @pngwn!65f94fb- Fix markdown migration. Thanks @aliabid94!c2be5a2- Migrate js/label to svelte5. Thanks @aliabid94!c2f0f19- add conditional rendering for the upload button in multimodal textbox. Thanks @hannahblair!565f07f- Fix gr.Textbox auto-resize regression when lines=1. Thanks @hysts!8a262d6- Migrate UploadButton. Thanks @freddyaboulton!e023cac- Restore gr.Textbox resize listener. Thanks @hannahblair!v6.3.0Compare Source
Features
c99a50b- Add .input() to Video. Thanks @hysts!51b7010- pollen css fix. Thanks @dawoodkhan82!2b4176c- Migrate Sidebar to Svelte 5. Thanks @dawoodkhan82!6f37743- Make check for active page in navbar robust. Thanks @abidlabs!Fixes
6222192- fix(client): make WebP and VTT MIME type detection case-insensitive. Thanks @majiayu000!5206d47- Migrate Model3D to Svelte 5. Thanks @dawoodkhan82!aa362c4- Allow static files when handling events. Thanks @hannahblair!3a39ee4- Fix Bug Where Invisible Columns Take Up Space. Thanks @aliabid94!48f580b- fix: Fix Textbox white background in dark mode. Thanks @Godkunn!ab20c59- feat(client): add generic type parameter to predict() method. Thanks @majiayu000!be89f8c- Migrate DownloadButton to Svelte 5. Thanks @dawoodkhan82!3aee8ae- Allow multiple file messages to be displayed in Chatbot. Thanks @freddyaboulton!6eadb5b- Migrate accordion to svelte 5. Thanks @aliabid94!3b3eaf0- Restore RTL prop to gradio components. Thanks @hannahblair!3194f29- Fix docs for Tab select event. Thanks @freddyaboulton!ba46c2d- Migrate Button to Svelte 5. Thanks @freddyaboulton!fa75712- Add custom buttons togr.Dropdown(multiselect=True)andgr.LinePlotand other native plots. Thanks @abidlabs!6a80a07- fix: support gr.update() for gr.State + update api_visibility docs. Thanks @majiayu000!7fb79d4- Fix bug where tabs don't work inside gr.render. Thanks @freddyaboulton!57dd086- Upgrade color picker to Svelte 5 syntax. Thanks @freddyaboulton!5fae6b7- Fix Infinite Change Event in Browser History. Thanks @freddyaboulton!v6.2.0Compare Source
Features
f1d83fa- Add ability to add custom buttons to components. Thanks @abidlabs!fac3844- Upgradetyto0.0.2. Thanks @abidlabs!c06ded8- Relax version of pydantic dependency in base gradio. Thanks @abidlabs!f753b0c- Add.select()and.input()events togr.FileExplorer. Thanks @abidlabs!Fixes
efb2549- Fix Dataframe Package. Thanks @dawoodkhan82!81b7960- Add error handling to gr.JSON. Thanks @hannahblair!2119a24- Fix custom gr.HTML updates. Thanks @aliabid94!184c596- Two bugs for gr.HTML. Thanks @aliabid94!1724a02- Remove checkmark from windows. Thanks @freddyaboulton!e2c316d- Fix Hot Reload of Custom CSS. Thanks @freddyaboulton!9daf193- Add footer to bottom of page. Thanks @freddyaboulton!b4c00d2- Fix Gallery preview_close event not firing on ESC key. Thanks @majiayu000!6d46ddb- feat: cache NodeJS proxied requests. Thanks @cbensimon!cf27938- Fix issue with HTML status shading even when"show_progress='hidden'". Thanks @abidlabs!5cf1ae5- Fix Dropdown change event when allow_custom_value is true. Thanks @freddyaboulton!b3a3683- Use a slower check rate on windows, otherwise windows locks up. Thanks @freddyaboulton!b27e2cb- Audio Trim Fix. Thanks @dawoodkhan82!b4c69af- Fix Plot display in chatbot. Thanks @freddyaboulton!653f47b- Fix Theme Builder Function. Thanks @freddyaboulton!1fa29ff- Fix AttributeError for proxy_url in get_config. Thanks @majiayu000!1fafaba- Add x-gradio-user-header. Thanks @freddyaboulton!7498fac- Fix image buttons default value. Thanks @freddyaboulton!v6.1.0Compare Source
Features
4476400- Addplayback_positionto gr.Audio and gr.Video, which can be updated and read. Thanks @aliabid94!d6be33e- feat: add link_target parameter to Button component. Thanks @ujjwaltwri!d3966ca- Restore Blocks constructor args deprecated in 6.0 (theme, css, etc.). Thanks @aliabid94!Fixes
0892c29- Fix plot Rendering + visibility bug. Thanks @freddyaboulton!8a6cff6- Fix bug where cancelling an events shows an error in the UI. Thanks @freddyaboulton!e8efab2- Fix Settings. Thanks @freddyaboulton!251add4- JS unit test fix. Thanks @dawoodkhan82!4f6327b- Load visible components in 6.0. Thanks @freddyaboulton!0715279- Fix customjsparam. Thanks @dawoodkhan82!8aaa209- Allow custom HTML components to be defined in jupyter notebooks. Thanks @abidlabs!af3ffa0- Fix: avoid corrupting JSON-like values in CSV sanitization. Thanks @ujjwaltwri!23c9bb5- Fix copy button ingr.Textbox. Thanks @dawoodkhan82!v6.0.2Compare Source
Features
c4c36c7- Fix highlighted text in 6.0. Thanks @freddyaboulton!4e9a330- Fix slider css issue. Thanks @freddyaboulton!Fixes
b9732d1- [BUGFIX] Fix stream file download in gradio client. Thanks @frascuchon!472e164- Make client backwards compatible with version 5. Thanks @freddyaboulton!2a2dd60- 12485 fix mcp client issue. Thanks @freddyaboulton!07fa494- Checkbox Label Fix. Thanks @dawoodkhan82!v6.0.1Compare Source
Features
0f2fa10- chore(deps): ⬆️ update pillow from 11.1.0 to 12.0. Thanks @onuralpszr!96efaab- Update gradio_client version to 2.0.0. Thanks @abidlabs!Fixes
f9e272d- Fix bug where close method does not kill the thread. Thanks @freddyaboulton!7e867fd- Fix custom components for gradio 6. Thanks @pngwn!9a86e80- Fix Login Gradio 6. Thanks @freddyaboulton!f42628d- Allow new custom components to use Gradio 6. Thanks @freddyaboulton!v6.0.0Features
9e8a313- Fix Walkthrough component. Thanks @pngwn!02ce6d5- Remove SSE transport from MCP docs. Thanks @abidlabs!6505763- Fix Reload Mode in 6.0. Thanks @freddyaboulton!4552df4- Fix status tracker iterative image. Thanks @freddyaboulton!c72972e- Ensureshow_erroris always respected. Thanks @pngwn!a8c26e4- Fix Chatbot autoscroll. Thanks @pngwn!568644a- Add a 6.0 migration guide and add deprecation warnings. Thanks @abidlabs!36d5657- Fix full width toast issue. Thanks @freddyaboulton!9ea6686- Spaces hot reloading. Thanks @cbensimon!61e5aeb- Download frontend templates for custom components. Thanks @freddyaboulton!017eaf0- Fix audio errors when streaming. Thanks @pngwn!5ba7e1e- Reduce files in build. Thanks @freddyaboulton!04e2581- fix publish. Thanks @pngwn!2043967- fix font. Thanks @pngwn!f632b87- Fix progress in StatusTracker. Thanks @pngwn!4845bfd- Fix queue false render issue. Thanks @freddyaboulton!f5e5344- Fix some e2e tests. Thanks @freddyaboulton!f2a47fe- fix custom components. Thanks @pngwn!4a8ee36- Sync JS Files to Hub. Thanks @freddyaboulton!baa1cd6- Improve audio player UI in gr.Chatbot. Thanks @hannahblair!v5.49.1Compare Source
Fixes
31cf825- gradio.Audio does not preload the file in browser style since 5.46.0. Thanks @PRIME-SV!de9dad3- fix: correct various typos in documentation and code. Thanks @shashax42!69da8c8- feat: Extended the waternark positioning feature to Video. Thanks @PRIME-SV!ab8dc66- route progress notifications to the POST SSE Handler for MCP Servers. Thanks @evalstate!v5.49.0Compare Source
Features
09b7111- Add ability to position watermark relative to watermarked content. Thanks @PRIME-SV!Fixes
81fc464- Fix MultimodalTextbox autofocus issue when file_types is specified. Thanks @freddyaboulton!fd585f1- Fix: Add per-component caching forapi_infoto improve custom component performance. Thanks @vijay-x-Raj!d6f591e- Add render_children parameter to Tab component. Thanks @freddyaboulton!103e3ab- Fix Deployed Demos. Thanks @freddyaboulton!2c7a800- Accessibility issue with tabing through multiseclect dropdown component. Thanks @PRIME-SV!v5.48.0Compare Source
Features
abc4dbe- Add export button to native plot components. Thanks @abidlabs!327015b- Add CLI command gradio openaichat to launch default ChatInterface (addresses #11334). Thanks @jyotiradityadav!327015b- Add CLI subcommand gradio openaichat to launch default ChatInterface, with --share. Thanks @jyotiradityadav!2069fd2- Remove duplicate media files. Thanks @hannahblair!cf9aefd- More vibe editor issues and features. Thanks @aliabd!Fixes
8a1c7d5- Fix example vales. Thanks @freddyaboulton!1ae2a57- fix iframe sizing on spaces for apps runing in SPA mode. Thanks @pngwn!0dc0be8- Trigger Change Event if component is in inactive tab. Thanks @freddyaboulton!7ebaf4e- Fix pandas. Thanks @freddyaboulton!64046cc- Fix Multi-page demo in Dev Mode. Thanks @ftoh!e80f03b- gr.load_chat supports optional textbox= argument. Thanks @Davda-James!c5a5f51- fix: render checkbox info text below label for consistency. Thanks @Davda-James!v5.47.2Compare Source
Fixes
52861f8- Clean fix for support of async auth functions in login (#9244). Thanks @TimPolk!a060c85- Set active tool to "draw" when background image changes in ImageEditor. Thanks @freddyaboulton!cc27cd7- Fix postMessage warning when running outside hugging face spaces. Thanks @freddyaboulton!9b4a16c- Create extended MediaRecorded only once for streaming demos. Thanks @freddyaboulton!50a89f0- Allow gradio to run with huggingface_hub 1.x. Thanks @Wauplin!32b0fe7- Allow passing token=None for load_chat. Thanks @freddyaboulton!v5.47.1Compare Source
Fixes
e2bc362- MCP documentation fix. Thanks @abidlabs!1b97ed7- Fix bug where multimodaltextbox would focus on any app update. Thanks @freddyaboulton!c8f7909- Show UploadProgress for Webcam Uploads. Thanks @freddyaboulton!86e6176- Add dark mode to storybook. Thanks @hannahblair!v5.47.0Compare Source
Features
cb16ca5- Ensure interactivity works as expected in standalone dataframe. Thanks @hannahblair!fdfe4fe- fix(client): websockets minimum version for asyncio. Thanks @cbensimon!Fixes
beddde5- Fix bug where Gallery scrollbar would not show up. Thanks @freddyaboulton!01309af- Bugfix: Update color map of HighlightedText programmatically. Thanks @freddyaboulton!950b68f- Correctly Render ChatInterfaces Inside TabbedInterfaces. Thanks @freddyaboulton!3f1842f- Fix various vibe editor issues. Thanks @aliabd!fdb2bb2- Pass elem_classes to Sidebar svelte component. Thanks @freddyaboulton!e64e5ec- Fix bug where keyboard navigation on a textbox would skip forward the audio waveform playback. Thanks @freddyaboulton!v5.46.1Compare Source
Fixes
d56f84f- Fix multiple: route with accents doesnt work (#11935). Thanks @josx!4e4b0bc- Add Syntax Highlighting for more languages in Markdown Component. Thanks @freddyaboulton!915f3a2- Send EventData when app is loaded via gr.load. Thanks @freddyaboulton!13fdfa6- Upgrade Prismjs. Thanks @freddyaboulton!57d8d65- Dataframe Edit Event. Thanks @deckar01!98d44b9- Serialize i18n data for events that dont go through queue. Thanks @freddyaboulton!a9167fb- Update websocket import and type in get_pred_from_ws. Thanks @qgallouedec!v5.46.0Compare Source
Features
cf10724- Remove additional indentation in python API docs. Thanks @freddyaboulton!8d06ab7- Add select all checkbox for boolean columns in Dataframe. Thanks @abidlabs!8264ad8- Add max_height parameter to ParamViewer. Thanks @drewmlawton!ee3dbd8- Add show_select_all parameter to CheckboxGroup. Thanks [@abidlabConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.