A newer version of the Gradio SDK is available:
6.0.1
@gradio/audio
0.13.5
Fixes
0.13.4
Features
Fixes
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.13.3
Features
- #9118
e1c404d- setup npm-previews of all packages. Thanks @pngwn! - #9102
efdc323- Initial SSR refactor. Thanks @pngwn!
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.13.2
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.13.1
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.13.0
Features
Fixes
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.12.2
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.12.1
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.12.0
Features
Fixes
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.10
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.9
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.8
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.7
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.6
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.5
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.4
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.3
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.2
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.1
Fixes
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.11.0
Features
- #8121
f5b710c- chore(deps): update dependency eslint to v9. Thanks @renovate! - #8209
b9afe93- RenameeventSource_Factoryandfetch_implementation. Thanks @hannahblair!
Fixes
- #8179
6a218b4- rework upload to be a class method + pass client into each component. Thanks @pngwn!
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.10.0
Highlights
Setting File Upload Limits (#7909 2afca65)
We have added a max_file_size size parameter to launch() that limits to size of files uploaded to the server. This limit applies to each individual file. This parameter can be specified as a string or an integer (corresponding to the size in bytes).
The following code snippet sets a max file size of 5 megabytes.
import gradio as gr
demo = gr.Interface(lambda x: x, "image", "image")
demo.launch(max_file_size="5mb")
# or
demo.launch(max_file_size=5 * gr.FileSize.MB)
Error states can now be cleared
When a component encounters an error, the error state shown in the UI can now be cleared by clicking on the x icon in the top right of the component. This applies to all types of errors, whether it's raised in the UI or the server.
Thanks @freddyaboulton!
Features
Fixes
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.12
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.11
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.10
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.9
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.8
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.7
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.6
Dependency updates
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.5
Patch Changes
- Updated dependencies [
8181695]:- @gradio/[email protected]
- @gradio/[email protected]
0.9.4
Fixes
- #7599
f26aba0- Prevent audio speeding up when trimming. Thanks @hannahblair!
0.9.3
Patch Changes
- Updated dependencies [
98a2719]:- @gradio/[email protected]
0.9.2
Fixes
- #6991
f191786- Improve responsiveness ofgr.Audio()controls. Thanks @hannahblair!
0.9.1
Patch Changes
- Updated dependencies [
065c5b1,32b317f]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.9.0
Features
- #7183
49d9c48- [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component. Thanks @abidlabs!
0.8.1
Features
- #7274
fdd1521- chore: Change time format (thanks @jjshoots for the independent contribution). Thanks @arian81!
Fixes
- #7192
8dd6f4b- Handle the case where examples isnullfor all components. Thanks @abidlabs! - #7158
ded5256- Fix audio recording events not dispatching. Thanks @hannahblair! - #7207
e3217b4- Amend audio waveform colour. Thanks @hannahblair!
0.8.0
Features
- #7104
bc2cdc1- Allow download button for interactive Audio and Video components. Thanks @hannahblair!
Fixes
- #7082
c35fac0- Ensure device selection works in Audio when streaming. Thanks @hannahblair! - #7045
13cb6af- Ensure microphone devices list updates. Thanks @hannahblair! - #6826
e8b2d8b- Add sample rate config option togr.Audio(). Thanks @tsukumijima!
0.7.2
Patch Changes
- Updated dependencies [
3c3cf86,3f139c7]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.7.1
Patch Changes
- Updated dependencies [
793bf8f,5d00dd3]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.7.0
Features
0.6.4
Patch Changes
- Updated dependencies [
d406855]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.6.3
Fixes
- #6766
73268ee- Improve source selection UX. Thanks @hannahblair!
0.6.2
Fixes
- #6799
c352811- Adds docstrings forgr.WaveformOptions,gr.Brush, andgr.Eraser, fixes examples forImageEditor, and allows individual images to be used as the initialvalueforImageEditor. Thanks @abidlabs!
0.6.1
Patch Changes
- Updated dependencies [
5d51fbc,34f9431]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.6.0
Features
- #6398
67ddd40- Lite v4. Thanks @whitphx! - #6745
3240d04- Addeditableparameter to Audio. Thanks @hannahblair!
0.5.5
Fixes
- #6551
8fc562a- Addshow_recording_waveformto Audio. Thanks @hannahblair!
0.5.4
Fixes
- #6546
a424fdbb2- Ensure audio waveformautoplayupdates. Thanks @hannahblair!
0.5.3
Patch Changes
- Updated dependencies [
9caddc17b]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.5.2
Features
- #6419
1959471a8- Add download tests for audio/video. Thanks @freddyaboulton!
Fixes
- #6454
2777f326e- Ensure Audio ouput events are dispatched. Thanks @hannahblair! - #6254
f816136a0- Add volume control to Audio. Thanks @hannahblair!
0.5.1
Fixes
- #6382
2090aad73- Move wavesurfer dep to js/audio. Thanks @freddyaboulton!
0.5.0
Features
- #6343
37dd335e5- Fix audio streaming output issues in 4.0. Thanks @aliabid94!
0.4.3
Fixes
- #6317
19af2806a- Add autoplay towaveform_settings. Thanks @hannahblair! - #6279
3cdeabc68- Ensure source selection does not get hidden in overflow. Thanks @hannahblair!
0.4.2
Fixes
- #6234
aaa55ce85- Video/Audio fixes. Thanks @freddyaboulton!
0.4.1
Patch Changes
- Updated dependencies [
2ba14b284]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.4.0
Features
- #5498
287fe6782- fix circular dependency with client + upload. Thanks @pngwn! - #5498
287fe6782- Improve Audio Component. Thanks @pngwn! - #5498
287fe6782- Clean root url. Thanks @pngwn! - #5498
287fe6782- Image v4. Thanks @pngwn! - #5498
287fe6782- Publish all components to npm. Thanks @pngwn! - #5498
287fe6782- Custom components. Thanks @pngwn!
0.4.0-beta.9
Features
- #6153
1162ed621- Removeshow_edit_buttonparam in Audio. Thanks @hannahblair! - #6124
a7435ba9e- Fix static issues with Lite on v4. Thanks @aliabd! - #6143
e4f7b4b40- fix circular dependency with client + upload. Thanks @pngwn! - #6136
667802a6c- JS Component Documentation. Thanks @freddyaboulton! - #6142
103416d17- JS READMEs and Storybook on Docs. Thanks @aliabd! - #6094
c476bd5a5- Image v4. Thanks @pngwn! - #6149
90318b1dd- swapmodeon the frontned tointeractiveto match the backend. Thanks @pngwn!
0.4.0-beta.8
Features
- #6016
83e947676- Format js in v4 branch. Thanks @freddyaboulton! - #5966
9cad2127b- Improve Audio Component. Thanks @hannahblair!
Fixes
0.4.0-beta.7
Patch Changes
- Updated dependencies [
174b73619,5fbda0bd2]:- @gradio/[email protected]
0.4.0-beta.6
Features
- #5960
319c30f3f- rererefactor frontend files. Thanks @pngwn! - #5938
13ed8a485- V4: Use beta release versions for '@gradio' packages. Thanks @freddyaboulton! - #5498
85ba6de13- Fix deployed demos on v4 branch. Thanks @pngwn!
0.4.0
Features
- #5627
b67115e8e- Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server. Thanks @whitphx! - #5934
8d909624f- Fix styling issues with Audio, Image and Video components. Thanks @aliabd!
0.3.7
Fixes
- #5794
f096c3ae1- Throw helpful error when media devices are not found. Thanks @hannahblair!
0.3.6
Patch Changes
- Updated dependencies [
8f0fed857]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.3.5
Patch Changes
- Updated dependencies [
75ddeb390]:- @gradio/[email protected]
- @gradio/[email protected]
0.3.4
Fixes
- #5587
e0d61b8ba- Fix.clear()events for audio and image. Thanks @dawoodkhan82!
0.3.3
Fixes
- #5459
bd2fda77- Dispatchstop_recordingevent in Audio. Thanks @hannahblair!
0.3.2
Patch Changes
- Updated dependencies [
afac0006]:- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
- @gradio/[email protected]
0.3.1
Features
0.3.0
Highlights
Improve startup performance and markdown support (#5279 fe057300)
Improved markdown support
We now have better support for markdown in gr.Markdown and gr.Dataframe. Including syntax highlighting and Github Flavoured Markdown. We also have more consistent markdown behaviour and styling.
Various performance improvements
These improvements will be particularly beneficial to large applications.
- Rather than attaching events manually, they are now delegated, leading to a significant performance improvement and addressing a performance regression introduced in a recent version of Gradio. App startup for large applications is now around twice as fast.
- Optimised the mounting of individual components, leading to a modest performance improvement during startup (~30%).
- Corrected an issue that was causing markdown to re-render infinitely.
- Ensured that the
gr.3DModeldoes re-render prematurely.
Thanks @pngwn!
Features
- #5215
fbdad78a- Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks @pngwn! - #5216
4b58ea6d- Update i18n tokens and locale files. Thanks @hannahblair! - #5264
46a2b600- ensure translations for audio work correctly. Thanks @hannahblair!
0.2.0
Features
- #5149
144df459- Addshow_edit_buttonparam togr.Audio. Thanks @hannahblair! - #5023
e6317d77- Update dependency extendable-media-recorder to v8. Thanks @renovate! - #5085
13e47835- chore(deps): update dependency extendable-media-recorder to v8. Thanks @renovate!