Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
7.5 KiB
@gradio/file
0.2.3
Patch Changes
- Updated dependencies [
11a300791
,465f58957
]:- @gradio/client@0.6.0
- @gradio/atoms@0.2.1
- @gradio/utils@0.1.3
- @gradio/statustracker@0.2.4
- @gradio/upload@0.3.4
0.2.2
Patch Changes
- Updated dependencies [
4e62b8493
,e70805d54
]:- @gradio/client@0.5.2
- @gradio/atoms@0.2.0
- @gradio/statustracker@0.2.3
- @gradio/upload@0.3.3
0.2.1
Patch Changes
- Updated dependencies [
796145e2c
]:- @gradio/client@0.5.1
0.2.0
Highlights
new FileExplorer
component (#5672 e4a307ed6
)
Thanks to a new capability that allows components to communicate directly with the server without passing data via the value, we have created a new FileExplorer
component.
This component allows you to populate the explorer by passing a glob, but only provides the selected file(s) in your prediction function.
Users can then navigate the virtual filesystem and select files which will be accessible in your predict function. This component will allow developers to build more complex spaces, with more flexible input options.
For more information check the FileExplorer
documentation.
Thanks @aliabid94!
0.1.6
Patch Changes
- Updated dependencies [
6e56a0d9b
]:- @gradio/client@0.4.2
0.1.5
Patch Changes
- Updated dependencies [
8f0fed857
]:- @gradio/icons@0.2.0
- @gradio/atoms@0.1.3
- @gradio/statustracker@0.2.1
- @gradio/upload@0.3.1
0.1.4
Patch Changes
- Updated dependencies [
78e7cf516
]:- @gradio/client@0.4.1
0.1.3
Patch Changes
- Updated dependencies [
c57f1b75e
,40de3d217
,ea0e00b20
,75ddeb390
]:- @gradio/client@0.4.0
- @gradio/upload@0.3.0
0.1.2
Patch Changes
- Updated dependencies [
afac0006
,26fef8c7
]:- @gradio/statustracker@0.2.0
- @gradio/client@0.3.1
- @gradio/utils@0.1.1
- @gradio/atoms@0.1.2
- @gradio/upload@0.2.1
0.1.1
Patch Changes
- Updated dependencies [
119c8343
,abf1c57d
,79d8f9d8
]:- @gradio/client@0.3.0
- @gradio/icons@0.1.0
- @gradio/utils@0.1.0
- @gradio/upload@0.2.0
- @gradio/atoms@0.1.1
- @gradio/statustracker@0.1.1
0.1.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.3DModel
does 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! - #5221
f344592a
- Allows setting a height togr.File
and improves the UI of the component. Thanks @abidlabs! - #5265
06982212
- Removes scrollbar from File preview when not needed. Thanks @abidlabs! - #5264
46a2b600
- ensure translations for audio work correctly. Thanks @hannahblair!
Fixes
- #5253
ddac7e4d
- Ensure File component uploads files to the server. Thanks @pngwn! - #5313
54bcb724
- Restores missing part of bottom border on file component. Thanks @abidlabs!
0.0.3
Patch Changes
- Updated dependencies [
61129052
,667875b2
,67265a58
,8b4eb8ca
]:- @gradio/client@0.2.0
- @gradio/upload@0.0.3
0.0.2
Patch Changes
- Updated dependencies []:
- @gradio/utils@0.0.2
- @gradio/atoms@0.0.2
- @gradio/upload@0.0.2