mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
9d1bd28bdf
* chore: update versions * update actions * update changelog * other changelgo * extra --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
3.1 KiB
3.1 KiB
@gradio/app
1.2.0
Highlights
Client.predict will now return the final output for streaming endpoints (#5057 35856f8b
)
This is a breaking change (for gradio_client only)!
Previously, Client.predict
would only return the first output of an endpoint that streamed results. This was causing confusion for developers that wanted to call these streaming demos via the client.
We realize that developers using the client don't know the internals of whether a demo streams or not, so we're changing the behavior of predict to match developer expectations.
Using Client.predict
will now return the final output of a streaming endpoint. This will make it even easier to use gradio apps via the client.
Thanks @freddyaboulton!
Features
- #5025
6693660a
- Add download button to selected images inGallery
. Thanks @hannahblair! - #5046
5244c587
- Allow new lines inHighlightedText
with/n
and preserve whitespace. Thanks @hannahblair! - #5047
883ac364
- Addstep
param toNumber
. Thanks @hannahblair! - #5005
f5539c76
- Enhancement: Add focus event to textbox and number component. Thanks @JodyZ0203! - #5136
eaa1ce14
- Enhancing Tamil Translation: Language Refinement 🌟. Thanks @sanjaiyan-dev!
1.1.0
Features
- #4995
3f8c210b
- Implement left and right click inGallery
component and show implicit images inGallery
grid. Thanks @hannahblair! - #4993
dc07a9f9
- Bringing back the "Add download button for audio" PR by @leuryr. Thanks @abidlabs! - #4979
44ac8ad0
- Allow setting sketch color default. Thanks @aliabid94!