Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
29 KiB
@gradio/chatbot
0.10.9
Dependency updates
- @gradio/statustracker@0.6.0
- @gradio/client@1.0.0
- @gradio/upload@0.11.0
- @gradio/audio@0.11.8
- @gradio/image@0.11.8
- @gradio/video@0.8.8
- @gradio/markdown@0.7.6
0.10.8
Features
0.10.7
Dependency updates
- @gradio/upload@0.10.7
- @gradio/client@0.20.1
- @gradio/audio@0.11.7
- @gradio/image@0.11.7
- @gradio/video@0.8.7
0.10.6
Dependency updates
- @gradio/client@0.20.0
- @gradio/statustracker@0.6.0
- @gradio/audio@0.11.6
- @gradio/image@0.11.6
- @gradio/upload@0.10.6
- @gradio/video@0.8.6
- @gradio/markdown@0.7.6
0.10.5
Features
Dependency updates
- @gradio/utils@0.4.2
- @gradio/atoms@0.7.4
- @gradio/statustracker@0.5.5
- @gradio/upload@0.10.5
- @gradio/markdown@0.7.5
- @gradio/theme@0.2.3
- @gradio/client@0.19.4
- @gradio/audio@0.11.5
- @gradio/image@0.11.5
- @gradio/video@0.8.5
0.10.4
Dependency updates
- @gradio/client@0.19.3
- @gradio/statustracker@0.5.4
- @gradio/audio@0.11.4
- @gradio/image@0.11.4
- @gradio/upload@0.10.4
- @gradio/video@0.8.4
- @gradio/markdown@0.7.4
0.10.3
Dependency updates
- @gradio/upload@0.10.3
- @gradio/client@0.19.2
- @gradio/audio@0.11.3
- @gradio/image@0.11.3
- @gradio/video@0.8.3
0.10.2
Dependency updates
- @gradio/statustracker@0.5.3
- @gradio/client@0.19.1
- @gradio/audio@0.11.2
- @gradio/image@0.11.2
- @gradio/markdown@0.7.3
- @gradio/video@0.8.2
- @gradio/upload@0.10.2
0.10.1
Features
Dependency updates
- @gradio/atoms@0.7.3
- @gradio/statustracker@0.5.2
- @gradio/markdown@0.7.2
- @gradio/client@0.19.0
- @gradio/icons@0.4.1
- @gradio/audio@0.11.1
- @gradio/image@0.11.1
- @gradio/upload@0.10.1
- @gradio/video@0.8.1
0.10.0
Features
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/audio@0.11.0
- @gradio/image@0.11.0
- @gradio/video@0.8.0
- @gradio/markdown@0.7.1
0.9.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/audio@0.10.0
- @gradio/image@0.10.0
- @gradio/markdown@0.7.0
- @gradio/statustracker@0.5.0
- @gradio/video@0.7.0
- @gradio/upload@0.9.0
- @gradio/utils@0.4.0
0.8.3
Features
Fixes
Dependency updates
- @gradio/utils@0.3.2
- @gradio/statustracker@0.4.12
- @gradio/theme@0.2.2
- @gradio/client@0.16.0
- @gradio/upload@0.8.5
- @gradio/atoms@0.7.0
- @gradio/icons@0.4.0
- @gradio/audio@0.9.12
- @gradio/image@0.9.12
- @gradio/video@0.6.12
- @gradio/markdown@0.6.10
0.8.2
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/markdown@0.6.9
- @gradio/theme@0.2.1
- @gradio/client@0.15.1
- @gradio/video@0.6.11
- @gradio/audio@0.9.11
0.8.1
Dependency updates
- @gradio/upload@0.8.3
- @gradio/client@0.15.0
- @gradio/audio@0.9.10
- @gradio/image@0.9.10
- @gradio/video@0.6.10
0.8.0
Features
Dependency updates
- @gradio/atoms@0.6.1
- @gradio/statustracker@0.4.10
- @gradio/icons@0.3.4
- @gradio/upload@0.8.2
- @gradio/audio@0.9.9
- @gradio/image@0.9.9
- @gradio/video@0.6.9
- @gradio/markdown@0.6.8
0.7.8
Dependency updates
- @gradio/upload@0.8.1
- @gradio/statustracker@0.4.9
- @gradio/atoms@0.6.0
- @gradio/audio@0.9.8
- @gradio/image@0.9.8
- @gradio/video@0.6.8
- @gradio/markdown@0.6.7
0.7.7
Dependency updates
- @gradio/client@0.14.0
- @gradio/upload@0.8.0
- @gradio/markdown@0.6.6
- @gradio/audio@0.9.7
- @gradio/image@0.9.7
- @gradio/video@0.6.7
0.7.6
Dependency updates
- @gradio/upload@0.7.7
- @gradio/client@0.13.0
- @gradio/audio@0.9.6
- @gradio/image@0.9.6
- @gradio/video@0.6.6
0.7.5
Patch Changes
- Updated dependencies [
8181695
]:- @gradio/upload@0.7.6
- @gradio/audio@0.9.5
- @gradio/image@0.9.5
- @gradio/video@0.6.5
0.7.4
Features
- #7528
eda33b3
- Refactorsget_fetchable_url_or_file()
to remove it from the frontend. Thanks @abidlabs!
0.7.3
Patch Changes
- Updated dependencies [
98a2719
]:- @gradio/statustracker@0.4.8
- @gradio/audio@0.9.3
- @gradio/image@0.9.3
- @gradio/markdown@0.6.5
- @gradio/video@0.6.3
0.7.2
Patch Changes
- Updated dependencies [
f191786
]:- @gradio/audio@0.9.2
- @gradio/icons@0.3.3
- @gradio/atoms@0.5.3
- @gradio/image@0.9.2
- @gradio/statustracker@0.4.7
- @gradio/upload@0.7.4
- @gradio/video@0.6.2
- @gradio/markdown@0.6.4
0.7.1
Patch Changes
- Updated dependencies [
17fb116
,065c5b1
,32b317f
]:- @gradio/markdown@0.6.3
- @gradio/utils@0.3.0
- @gradio/client@0.12.1
- @gradio/atoms@0.5.2
- @gradio/audio@0.9.1
- @gradio/image@0.9.1
- @gradio/statustracker@0.4.6
- @gradio/upload@0.7.3
- @gradio/video@0.6.1
0.7.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.6.4
Patch Changes
- Updated dependencies [
e5344ba
,572e360
,ded5256
,733ca26
,68a54a7
,2e6672c
,fdd1521
,200e251
,c3e61e4
,e3217b4
,8dd6f4b
]:- @gradio/markdown@0.6.2
- @gradio/upload@0.7.1
- @gradio/audio@0.8.1
- @gradio/image@0.8.0
- @gradio/client@0.11.0
- @gradio/utils@0.2.2
- @gradio/video@0.5.1
- @gradio/atoms@0.5.1
- @gradio/statustracker@0.4.5
0.6.3
Patch Changes
- Updated dependencies [
5727b92
,ca8753b
,bc2cdc1
,c35fac0
,c60ad4d
,13cb6af
,e8b2d8b
]:- @gradio/utils@0.2.1
- @gradio/markdown@0.6.1
- @gradio/audio@0.8.0
- @gradio/upload@0.7.0
- @gradio/video@0.5.0
- @gradio/atoms@0.5.0
- @gradio/image@0.7.1
- @gradio/statustracker@0.4.4
0.6.2
Patch Changes
- Updated dependencies [
3c3cf86
,9cefd2e
,6be3c2c
,3f139c7
]:- @gradio/client@0.10.1
- @gradio/image@0.7.0
- @gradio/video@0.4.0
- @gradio/upload@0.6.1
- @gradio/audio@0.7.2
0.6.1
Fixes
- #6958
0f0498b
- Ensure Chatbot theme text size is set correctly. Thanks @hannahblair!
0.6.0
Features
- #6897
fb9c6ca
- Lite: Chatbot. Thanks @whitphx! - #6900
4511d57
- Fix the aria-label attrs ingr.Chatbot()
. Thanks @whitphx!
Fixes
0.5.6
Patch Changes
- Updated dependencies [
d406855
]:- @gradio/client@0.9.4
- @gradio/upload@0.5.7
0.5.5
Patch Changes
- Updated dependencies [
846d52d
,828fb9e
,f3abde8
,73268ee
]:- @gradio/markdown@0.6.0
- @gradio/client@0.9.3
- @gradio/statustracker@0.4.3
- @gradio/atoms@0.4.1
- @gradio/upload@0.5.6
0.5.4
Patch Changes
- Updated dependencies [
245d58e
]:- @gradio/client@0.9.2
- @gradio/upload@0.5.5
0.5.3
Patch Changes
0.5.2
Features
- #6399
053bec9
- Improve CSS token documentation in Storybook. Thanks @hannahblair!
0.5.1
Fixes
- #6574
2b625ad
- Ensure Chatbot messages are properly aligned whenrtl
is true. Thanks @hannahblair! - #6572
206af31
- Improve like/dislike functionality. Thanks @hannahblair!
0.5.0
Features
0.4.8
Features
0.4.7
Patch Changes
- Updated dependencies [
9caddc17b
]:- @gradio/atoms@0.3.0
- @gradio/icons@0.3.0
- @gradio/statustracker@0.4.0
- @gradio/upload@0.5.0
- @gradio/markdown@0.3.3
0.4.6
Patch Changes
- Updated dependencies [
2f805a7dd
,f816136a0
]:- @gradio/upload@0.4.2
- @gradio/atoms@0.2.2
- @gradio/icons@0.2.1
- @gradio/markdown@0.3.2
- @gradio/statustracker@0.3.2
0.4.5
Fixes
- #6386
e76a9e8fc
- Fix Chatbot Pending Message Issues. Thanks @dawoodkhan82!
0.4.4
Patch Changes
0.4.3
Fixes
- #6316
4b1011bab
- Maintain text selection inChatbot
button elements. Thanks @hannahblair!
0.4.2
Patch Changes
- Updated dependencies [
aaa55ce85
]:- @gradio/upload@0.3.2
0.4.1
Patch Changes
- Updated dependencies [
2ba14b284
]:- @gradio/client@0.7.1
- @gradio/upload@0.3.1
0.4.0
Features
- #5498
287fe6782
- fix circular dependency with client + upload. Thanks @pngwn! - #5498
287fe6782
- Clean root url. Thanks @pngwn! - #5498
287fe6782
- Fix selectable prop in the backend. 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
- #6143
e4f7b4b40
- fix circular dependency with client + upload. Thanks @pngwn! - #6136
667802a6c
- JS Component Documentation. Thanks @freddyaboulton! - #6094
c476bd5a5
- Image v4. Thanks @pngwn! - #6135
bce37ac74
- Fix selectable prop in the backend. Thanks @freddyaboulton!
0.4.0-beta.8
Features
- #6016
83e947676
- Format js in v4 branch. Thanks @freddyaboulton!
Fixes
0.4.0-beta.7
Features
- #5960
319c30f3f
- rererefactor frontend files. Thanks @pngwn! - #5938
13ed8a485
- V4: Use beta release versions for '@gradio' packages. Thanks @freddyaboulton!
0.5.3
Fixes
- #5827
48e09ee88
- Quick fix: Chatbot change event. Thanks @dawoodkhan82!
0.5.2
Patch Changes
- Updated dependencies [
e4a307ed6
]:- @gradio/theme@0.2.0
- @gradio/utils@0.1.2
- @gradio/atoms@0.1.4
- @gradio/markdown@0.3.1
- @gradio/statustracker@0.2.2
- @gradio/upload@0.3.2
0.5.1
Fixes
- #5775
e2874bc3c
- fix pending chatbot message styling and ensure messages with valueNone
don't render. Thanks @hannahblair!
0.5.0
Features
- #5699
8f0fed857
- Improve chatbot accessibility and UX. Thanks @hannahblair!
Fixes
- #5755
e842a561a
- Fix new line issue in chatbot. Thanks @dawoodkhan82!
0.4.1
Patch Changes
- Updated dependencies [
ee8eec1e5
]:- @gradio/markdown@0.2.2
0.4.0
Features
- #5671
6a36c3b78
- chore(deps): update dependency @types/prismjs to v1.26.1. Thanks @renovate! - #5554
75ddeb390
- Accessibility Improvements. Thanks @hannahblair!
Fixes
- #5604
faad01f8e
- Addrender_markdown
parameter to chatbot. Thanks @dawoodkhan82! - #5593
88d43bd12
- Fixes avatar image in chatbot being squashed. Thanks @dawoodkhan82!
0.3.2
Fixes
- #5470
a4e010a9
- Fix share button position. Thanks @dawoodkhan82!
0.3.1
Patch Changes
- Updated dependencies [
afac0006
]:- @gradio/markdown@0.2.0
- @gradio/statustracker@0.2.0
- @gradio/theme@0.1.0
- @gradio/utils@0.1.1
- @gradio/atoms@0.1.2
- @gradio/upload@0.2.1
0.3.0
Highlights
Like/Dislike Button for Chatbot (#5391 abf1c57d
)
Thanks @dawoodkhan82!
Features
- #5334
c5bf9138
- Add chat bubble width param. Thanks @dawoodkhan82!
Fixes
- #5304
05892302
- Adds kwarg to disable html sanitization ingr.Chatbot()
. Thanks @dawoodkhan82! - #5366
0cc7e2dc
- Hide avatar when message none. Thanks @dawoodkhan82!
0.2.2
Fixes
- #5319
3341148c
- Fix: wrap avatar-image in a div to clip its shape. Thanks @Keldos-Li!
0.2.1
Patch Changes
- Updated dependencies [
31996c99
]:- @gradio/markdown@0.1.1
0.2.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! - #5112
1cefee7f
- chore(deps): update dependency marked to v7. Thanks @renovate! - #5258
92282cea
- Chatbot Avatar Images. Thanks @dawoodkhan82!
Fixes
- #5242
2b397791
- Fix message text overflow onto copy button ingr.Chatbot
. Thanks @hannahblair! - #5285
cdfd4217
- Tweaks toicon
parameter ingr.Button()
. Thanks @abidlabs! - #5122
3b805346
- Allows code block in chatbot to scroll horizontally. Thanks @dawoodkhan82!
0.1.0
Features
- #5125
80be7a1c
- chatbot conversation nodes can contain a copy button. Thanks @fazpu! - #5137
22aa5eba
- Use font size--text-md
for<code>
in Chatbot messages. Thanks @jaywonchung!
0.0.2
Patch Changes
- Updated dependencies [
41c83070
]:- @gradio/theme@0.0.2
- @gradio/utils@0.0.2
- @gradio/atoms@0.0.2
- @gradio/upload@0.0.2