A newer version of the Gradio SDK is available:
5.9.1
@gradio/simpleimage
0.8.2
Dependency updates
- @gradio/upload@0.13.1
- @gradio/wasm@0.14.1
0.8.1
Dependency updates
- @gradio/statustracker@0.8.1
0.8.0
Features
Dependencies
- @gradio/atoms@0.9.0
- @gradio/client@1.6.0
- @gradio/icons@0.8.0
- @gradio/statustracker@0.8.0
- @gradio/upload@0.13.0
- @gradio/utils@0.7.0
- @gradio/wasm@0.14.0
0.8.0-beta.7
Dependency updates
- @gradio/upload@0.13.0-beta.7
- @gradio/statustracker@0.8.0-beta.5
- @gradio/icons@0.8.0-beta.4
- @gradio/atoms@0.9.0-beta.5
0.8.0-beta.6
Dependency updates
- @gradio/statustracker@0.8.0-beta.4
- @gradio/atoms@0.9.0-beta.4
- @gradio/client@1.6.0-beta.4
- @gradio/upload@0.13.0-beta.6
0.8.0-beta.5
Dependency updates
- @gradio/upload@0.13.0-beta.5
- @gradio/statustracker@0.8.0-beta.3
- @gradio/icons@0.8.0-beta.3
- @gradio/atoms@0.9.0-beta.3
0.8.0-beta.4
Dependency updates
- @gradio/statustracker@0.8.0-beta.2
- @gradio/upload@0.13.0-beta.4
- @gradio/wasm@0.14.0-beta.3
0.8.0-beta.3
Dependency updates
- @gradio/upload@0.13.0-beta.3
- @gradio/client@1.6.0-beta.3
0.8.0-beta.2
Features
- #9339
4c8c6f2
- Ssr part 2. Thanks @pngwn! - #9250
350b0a5
- Improve Icon Button consistency. Thanks @hannahblair!
Dependency updates
- @gradio/atoms@0.9.0-beta.2
- @gradio/upload@0.13.0-beta.2
- @gradio/wasm@0.14.0-beta.2
- @gradio/client@1.6.0-beta.2
- @gradio/icons@0.8.0-beta.2
- @gradio/statustracker@0.8.0-beta.2
- @gradio/utils@0.7.0-beta.2
0.7.1-beta.1
Dependency updates
- @gradio/atoms@0.8.1-beta.1
- @gradio/icons@0.8.0-beta.1
- @gradio/statustracker@0.8.0-beta.1
- @gradio/utils@0.7.0-beta.1
- @gradio/client@1.6.0-beta.1
- @gradio/upload@0.12.4-beta.1
- @gradio/wasm@0.13.1-beta.1
0.7.1
Fixes
Dependency updates
- @gradio/utils@0.6.1
- @gradio/statustracker@0.7.6
- @gradio/atoms@0.8.1
- @gradio/icons@0.7.2
- @gradio/wasm@0.13.1
- @gradio/client@1.5.2
- @gradio/upload@0.12.4
0.7.0
Features
- #8930
41d5ab9
- Addplaceholder
param to Image and ImageEditor to replace upload image text. Thanks @hannahblair! - #9118
e1c404d
- setup npm-previews of all packages. Thanks @pngwn!
Fixes
Dependency updates
- @gradio/utils@0.6.0
- @gradio/upload@0.12.3
- @gradio/atoms@0.8.0
- @gradio/client@1.5.1
- @gradio/statustracker@0.7.5
- @gradio/wasm@0.13.0
- @gradio/icons@0.7.1
0.6.5
Dependency updates
- @gradio/atoms@0.7.9
- @gradio/statustracker@0.7.4
- @gradio/client@1.5.0
- @gradio/icons@0.7.0
- @gradio/upload@0.12.2
0.6.4
Dependency updates
- @gradio/atoms@0.7.8
- @gradio/icons@0.6.1
- @gradio/utils@0.5.2
- @gradio/statustracker@0.7.3
- @gradio/upload@0.12.1
0.6.3
Fixes
Dependency updates
- @gradio/wasm@0.12.0
- @gradio/client@1.4.0
- @gradio/statustracker@0.7.2
- @gradio/upload@0.12.0
- @gradio/atoms@0.7.7
0.6.2
Dependency updates
- @gradio/atoms@0.7.6
- @gradio/utils@0.5.1
- @gradio/statustracker@0.7.1
- @gradio/client@1.3.0
- @gradio/upload@0.11.5
- @gradio/icons@0.6.0
0.6.1
Dependency updates
- @gradio/upload@0.11.4
- @gradio/client@1.2.1
0.6.0
Features
Dependency updates
- @gradio/atoms@0.7.5
- @gradio/utils@0.5.0
- @gradio/icons@0.5.0
- @gradio/wasm@0.11.0
- @gradio/client@1.2.0
- @gradio/statustracker@0.7.0
- @gradio/upload@0.11.3
0.5.10
Dependency updates
- @gradio/client@1.1.1
- @gradio/upload@0.11.2
0.5.9
Dependency updates
- @gradio/upload@0.11.1
- @gradio/client@1.1.0
0.5.8
Dependency updates
- @gradio/statustracker@0.6.0
- @gradio/client@1.0.0
- @gradio/upload@0.11.0
0.5.7
Dependency updates
- @gradio/upload@0.10.7
- @gradio/client@0.20.1
0.5.6
Dependency updates
- @gradio/client@0.20.0
- @gradio/statustracker@0.6.0
- @gradio/upload@0.10.6
0.5.5
Dependency updates
- @gradio/utils@0.4.2
- @gradio/atoms@0.7.4
- @gradio/statustracker@0.5.5
- @gradio/upload@0.10.5
- @gradio/client@0.19.4
0.5.4
Dependency updates
- @gradio/client@0.19.3
- @gradio/statustracker@0.5.4
- @gradio/upload@0.10.4
0.5.3
Dependency updates
- @gradio/upload@0.10.3
- @gradio/client@0.19.2
0.5.2
Dependency updates
- @gradio/statustracker@0.5.3
- @gradio/client@0.19.1
- @gradio/upload@0.10.2
0.5.1
Fixes
Dependency updates
- @gradio/atoms@0.7.3
- @gradio/statustracker@0.5.2
- @gradio/client@0.19.0
- @gradio/icons@0.4.1
- @gradio/upload@0.10.1
0.5.0
Features
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/wasm@0.10.1
- @gradio/statustracker@0.5.1
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!
Fixes
Dependency updates
- @gradio/atoms@0.7.1
- @gradio/client@0.17.0
- @gradio/statustracker@0.5.0
- @gradio/upload@0.9.0
- @gradio/utils@0.4.0
0.3.12
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
0.3.11
Dependency updates
- @gradio/utils@0.3.1
- @gradio/atoms@0.6.2
- @gradio/statustracker@0.4.11
- @gradio/upload@0.8.4
- @gradio/client@0.15.1
0.3.10
Dependency updates
- @gradio/upload@0.8.3
- @gradio/client@0.15.0
0.3.9
Dependency updates
- @gradio/atoms@0.6.1
- @gradio/statustracker@0.4.10
- @gradio/icons@0.3.4
- @gradio/upload@0.8.2
0.3.8
Dependency updates
- @gradio/upload@0.8.1
- @gradio/statustracker@0.4.9
- @gradio/wasm@0.10.0
- @gradio/atoms@0.6.0
0.3.7
Dependency updates
- @gradio/client@0.14.0
- @gradio/upload@0.8.0
- @gradio/wasm@0.9.0
0.3.6
Dependency updates
- @gradio/upload@0.7.7
- @gradio/client@0.13.0
- @gradio/wasm@0.8.0
0.3.5
Patch Changes
- Updated dependencies [
8181695
]:- @gradio/upload@0.7.6
0.3.4
Features
- #7528
eda33b3
- Refactorsget_fetchable_url_or_file()
to remove it from the frontend. Thanks @abidlabs!
0.3.3
Patch Changes
- Updated dependencies [
98a2719
]:- @gradio/statustracker@0.4.8
0.3.2
Patch Changes
- Updated dependencies [
f191786
]:- @gradio/icons@0.3.3
- @gradio/atoms@0.5.3
- @gradio/statustracker@0.4.7
- @gradio/upload@0.7.4
0.3.1
Patch Changes
- Updated dependencies [
065c5b1
,32b317f
]:- @gradio/utils@0.3.0
- @gradio/client@0.12.1
- @gradio/atoms@0.5.2
- @gradio/statustracker@0.4.6
- @gradio/upload@0.7.3
0.3.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.2.0
Features
- #7129
ccdaec4
- Add asimpleimage
template for custom components. Thanks @abidlabs! - #7205
e418edd
- Fix SimpleImage package json. Thanks @abidlabs!