mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
30463c5e15
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5.0 KiB
5.0 KiB
@gradio/multimodaltextbox
0.4.1
Features
Fixes
Dependency updates
- @gradio/atoms@0.7.3
- @gradio/statustracker@0.5.2
- @gradio/client@0.19.0
- @gradio/icons@0.4.1
- @gradio/image@0.11.1
- @gradio/upload@0.10.1
0.4.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!
Dependency updates
- @gradio/atoms@0.7.2
- @gradio/client@0.18.0
- @gradio/upload@0.10.0
- @gradio/utils@0.4.1
- @gradio/statustracker@0.5.1
- @gradio/image@0.11.0
0.3.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!
Fixes
Dependency updates
- @gradio/atoms@0.7.1
- @gradio/client@0.17.0
- @gradio/image@0.10.0
- @gradio/statustracker@0.5.0
- @gradio/upload@0.9.0
- @gradio/utils@0.4.0
0.2.5
Fixes
- #8002
8903415
- Add show_progress prop to Upload Component to bring back upload progress animation. Thanks @freddyaboulton!
Dependency updates
- @gradio/utils@0.3.2
- @gradio/statustracker@0.4.12
- @gradio/client@0.16.0
- @gradio/upload@0.8.5
- @gradio/atoms@0.7.0
- @gradio/icons@0.4.0
- @gradio/image@0.9.12
0.2.4
Dependency updates
- @gradio/utils@0.3.1
- @gradio/atoms@0.6.2
- @gradio/statustracker@0.4.11
- @gradio/upload@0.8.4
- @gradio/image@0.9.11
- @gradio/client@0.15.1
0.2.3
Features
Dependency updates
- @gradio/upload@0.8.3
- @gradio/client@0.15.0
- @gradio/image@0.9.10
0.2.2
Fixes
Dependency updates
- @gradio/atoms@0.6.1
- @gradio/statustracker@0.4.10
- @gradio/icons@0.3.4
- @gradio/upload@0.8.2
- @gradio/image@0.9.9
0.2.1
Dependency updates
- @gradio/upload@0.8.1
- @gradio/statustracker@0.4.9
- @gradio/atoms@0.6.0
- @gradio/image@0.9.8
0.2.0
Features
Dependency updates
- @gradio/client@0.14.0
- @gradio/upload@0.8.0
- @gradio/image@0.9.7