mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
b635a31714
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4.8 KiB
4.8 KiB
@self/storybook
0.6.2
Fixes
0.6.1
Features
Fixes
0.6.0
Features
0.5.0
Features
- #8121
f5b710c
- chore(deps): update dependency eslint to v9. Thanks @renovate! - #8209
b9afe93
- RenameeventSource_Factory
andfetch_implementation
. Thanks @hannahblair!
Fixes
- #8179
6a218b4
- rework upload to be a class method + pass client into each component. Thanks @pngwn!
0.4.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!
0.3.1
Features
0.3.0
Features
- #7222
5181957
- Add mobile Chromatic tests. Thanks @hannahblair!
0.2.0
Features
- #6451
d92de491b
- Optimise Chromatic workflow. Thanks @hannahblair!
0.1.0
Features
0.1.0-beta.0
Features
- #5966
9cad2127b
- Improve Audio Component. Thanks @hannahblair! - #6089
cd8146ba0
- Update logos for v4. Thanks @abidlabs!