7378 Commits

Author SHA1 Message Date
Gradio PR Bot
7377055815
chore: update versions (#10349)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/annotatedimage@0.9.3 @gradio/audio@0.15.2 @gradio/button@0.4.2 @gradio/chatbot@0.22.0 @gradio/checkbox@0.4.12 @gradio/checkboxgroup@0.6.12 @gradio/code@0.10.13 @gradio/colorpicker@0.4.12 @gradio/core@0.7.0 @gradio/dataframe@0.13.0 @gradio/dataset@0.4.2 @gradio/datetime@0.3.4 @gradio/downloadbutton@0.3.2 @gradio/dropdown@0.9.10 @gradio/fallback@0.4.12 @gradio/file@0.12.2 @gradio/fileexplorer@0.5.13 @gradio/gallery@0.15.2 @gradio/highlightedtext@0.8.12 @gradio/html@0.6.3 @gradio/image@0.20.2 @gradio/imageeditor@0.12.3 @gradio/json@0.5.12 @gradio/label@0.5.4 @gradio/lite@5.13.0 @gradio/markdown@0.13.2 @gradio/model3d@0.13.13 @gradio/multimodaltextbox@0.9.2 @gradio/nativeplot@0.5.6 @gradio/number@0.5.12 @gradio/paramviewer@0.6.4 @gradio/plot@0.9.7 @gradio/radio@0.6.12 @gradio/row@0.2.1 @gradio/simpledropdown@0.3.12 @gradio/simpleimage@0.8.13 @gradio/simpletextbox@0.3.12 @gradio/slider@0.6.0 @gradio/statustracker@0.10.2 @gradio/tabitem@0.4.1 @gradio/tabs@0.4.1 @gradio/textbox@0.10.2 @gradio/upload@0.14.6 @gradio/uploadbutton@0.8.2 @gradio/video@0.13.2 @gradio/wasm@0.17.0 @self/app@1.46.1 @self/component-test@0.5.3 @self/spa@0.5.0 @self/tootils@0.7.13 gradio@5.13.0 gradio_client@1.6.0 website@0.47.0 @gradio/accordion@0.5.6
2025-01-22 14:44:41 -08:00
Abubakar Abid
48809c722b
Fix bug where dataframe value prop was not updating when an input value was changed manually (#10410)
* dataframe

* add changeset

* comment

* simple unit test

* simple unit test

* add e2e test

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-22 22:19:29 +00:00
Abubakar Abid
3219382eee
Fix event triggers and recent regressions related to gr.DataFrame (#10403)
* fixes

* add changeset

* fix

* add changeset

* cleanup

* notebooks

* changes

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-22 13:06:18 -08:00
Abubakar Abid
9dc5d157aa
Tweak behavior related to the status of gr.Chatbot thought messages (#10404)
* chatbot

* changes

* add changeset

* changes

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-22 12:09:46 -08:00
Freddy Boulton
43e7cce2bd
Fix ImageEditor Size Issues (#10357)
* Fix

* Add test

* Fix

* Format

* add changeset

* rm for now

* Revert "rm for now"

This reverts commit 3cfbe3c577e365d9d14553e9a109bbe09f8170ac.

* rm for now

* tests

* fix tests

* dynamic canvas

* add code

* fix

* Add code

* add code

* crop size deprecation

* fix crop_size

* add code

* typecheck

* fix story

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Suzana Ilic <suzana.ilic.tokyo@gmail.com>
2025-01-22 18:35:00 +00:00
Ali Abdalla
812f2d8a3f
Playground fixes and refactoring (#10388)
* wording

* something

* changes

* some refactoring

* use error modal

* formatting

* add changeset

* fix problems with guide

* formatting

* oops

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-22 00:03:03 -08:00
Hannah
feb1e81eca
Add toolbar with fullscreen button to gr.Dataframe (#10377)
* add toolbar with full screen and copy button

* add changeset

* add params and move toolbar to new file

* remove copy button for now

* add story

* add changeset

* test

* tweak

* tweak

* story fix

* test

* tweak

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-21 15:24:16 -08:00
Eric Wu
9e6ededef1
Removes css tag that overrides Gradio theme setting (#10390)
* @media (prefers-color-scheme: dark) overrides the gradio theme setting; removing as it is redundant.

* add changeset

* add changeset

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-21 16:23:45 +00:00
Borg93
67cab42025
Create sv.json (#10397)
Adds Swedish language to the lang-settings
2025-01-21 15:14:50 +00:00
Abubakar Abid
4d47e4b4e2
Add a log parameter to Chatbot metadata that allows displaying str content next to the thought title (#10392)
* changes

* changes

* chatbot

* format

* add changeset

* changes

* changes

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-20 22:43:04 -08:00
Erfan Asgari
98e4bf369f
fixed 2 typos in guides (#10393) 2025-01-20 07:41:03 -08:00
aliabid94
96bbde277e
Allow propogation of fill_height through Rows and Tabs, via scale (#10372)
* changes

* add changeset

* changes

* add changeset

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-17 14:54:24 -08:00
Yuichiro Tachibana (Tsuchiya)
b10f5e150a
Lite: retry install (#10366)
* Add retries to micropip.install() calls

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-17 14:52:34 -08:00
Hannah
951704346c
Ensure columns hidden with pandas .hide() works as expected (#10383)
* check  hidden_columns

* add changeset

* add test

* lint

* lint

* fix test

* Update gradio/components/dataframe.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* lint

* lint

* lint

* claude said this will fix the test

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-17 14:52:01 -08:00
Hannah
2b7ba48013
Add show_row_numbers param to gr.Dataframe (#10376)
* add optional row number column

* add changeset

* weight tweak

* test

* test

* fix test again

* Update gradio/components/dataframe.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-17 20:16:02 +00:00
Abubakar Abid
31cccc3e79
Fix logic for detecting changes in gr.Dataframe table value (#10360)
* changes

* changes

* changes

* add changeset

* revert

* add changeset

* change

* changes

* add changeset

* add changeset

* allow non-string headers

* add changeset

* changes

* docs

* remove

* changes

* changes

* revert

* refactoring

* changes

* changes

* revert

* revert

* add changeset

* fix

* add changeset

* clean up

* cleanup

* more cleanup

* notebook

* test

* format

* add changeset

* backend

* format'

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-17 11:33:11 -08:00
Hannah
40e0c48320
Ensure clicking on a cell once enables editing mode (#10365)
* modify cell click behaviour

* fix mouse pointer events

* add changeset

* deselect cell on click outside

* ensure cell menu closes

* tweak editable logic

* update e2e test with single click

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-17 16:22:38 +00:00
Yuichiro Tachibana (Tsuchiya)
b0cf92f03b
PWA icon customization (#10341)
* Use a single icon file with 'any' size for PWA

* Add Blocks.pwa_icon option for the developer to specify the PWA icon

* add changeset

* Add docstring

* Use favicon_path for PWA icons

* target blank

* format

* add changeset

* Add a new section about PWA to the guide

* Add pwa_icon path to proxy config

* Move guide image files to another repo

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-16 14:00:54 +00:00
Abubakar Abid
5881296ea5
Improve component docstrings and misc docs (#10367)
* clarify docstrings

* add changeset

* drodpown

* update

* remove fe demo

* add changeset

* changes

* changes

* changes

* add state docs

* lint

* changes

* typo

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-16 00:54:10 +00:00
Kevin Backhouse
8cf0461e36
Fix ReDoS (#10368)
* Fix ReDoS

* add changeset

* add changeset

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-15 12:14:39 -08:00
Dawood Khan
eb85edf4b2
Quick fix: 0 is ignored Slider/Number issue (#10369)
* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-15 15:14:31 -05:00
Abubakar Abid
c44da259fe
Allow modifying the chatbot value directly in gr.ChatInterface (#10359)
* changes

* changes

* add changeset

* format

* blank

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-15 07:40:12 -08:00
Ali Abdalla
070cab5d2e
Expand token length for existing code and prompt in playground (#10355)
* reduce system prompt and show error

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-14 18:33:05 -08:00
Abubakar Abid
6a7cfc4264
Compatibility between Client and ZeroGPU (#10352)
* changes

* changes

* changes

* add changeset

* revert

* add changeset

* change

* changes

* changes

* changes

* format

* changes

* changes

* make public method and add tests

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-14 15:39:39 -08:00
Abubakar Abid
43e05d72f4
Document additional helper classes for gr.Chatbot (#10346)
* changes

* format

* add changeset

* changes

* changes

* fix

* changes

* typed

* typed

* changes

* format

* fix typing

* changes

* changes

* tweaks

* tweak

* tweak

* tweak

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-01-14 10:43:37 -08:00
Hannah
62cd4ef302
Handle row_count=0 in gr.Dataframe (#10348)
* handle row count 0

* add changeset

* add story

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-14 15:52:06 +00:00
Aman Chauhan
a91cb9c42c
Add show_reset_button to gr.slider initialization (#10340)
* add show_reset_button arg to slider

* add changeset

* add changeset

* changes

* tweaks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-13 11:14:27 -08:00
Gradio PR Bot
7fa9b6fc97
chore: update versions (#10316)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/checkbox@0.4.11 @gradio/checkboxgroup@0.6.11 @gradio/code@0.10.12 @gradio/colorpicker@0.4.11 @gradio/core@0.6.1 @gradio/dataframe@0.12.7 @gradio/dataset@0.4.1 @gradio/datetime@0.3.3 @gradio/downloadbutton@0.3.1 @gradio/dropdown@0.9.9 @gradio/fallback@0.4.11 @gradio/file@0.12.1 @gradio/fileexplorer@0.5.12 @gradio/form@0.2.10 @gradio/gallery@0.15.1 @gradio/highlightedtext@0.8.11 @gradio/html@0.6.2 @gradio/icons@0.10.0 @gradio/image@0.20.1 @gradio/imageeditor@0.12.2 @gradio/json@0.5.11 @gradio/label@0.5.3 @gradio/lite@5.12.0 @gradio/markdown@0.13.1 @gradio/model3d@0.13.12 @gradio/multimodaltextbox@0.9.1 @gradio/nativeplot@0.5.5 @gradio/number@0.5.11 @gradio/paramviewer@0.6.3 @gradio/plot@0.9.6 @gradio/radio@0.6.11 @gradio/simpledropdown@0.3.11 @gradio/simpleimage@0.8.12 @gradio/simpletextbox@0.3.11 @gradio/slider@0.5.11 @gradio/statustracker@0.10.1 @gradio/textbox@0.10.1 @gradio/upload@0.14.5 @gradio/uploadbutton@0.8.1 @gradio/video@0.13.1 @self/component-test@0.5.2 @self/tootils@0.7.12 @gradio/accordion@0.5.5 @gradio/annotatedimage@0.9.2 @gradio/atoms@0.13.1 @gradio/audio@0.15.1 @gradio/box@0.2.10 @gradio/button@0.4.1 @gradio/chatbot@0.21.0 @gradio/client@1.10.0 @self/app@1.46.0 gradio@5.12.0 gradio_client@1.5.4 website@0.46.0
2025-01-10 12:39:10 -08:00
aliabid94
e742dcccb3
Allow users to add a custom API route (#10332)
* changes

* add changeset

* changes

* add changeset

* changes

* changes

* changes

* chagnes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-10 11:46:57 -08:00
Abubakar Abid
decb594455
Update guide for gr.load_chat and allow **kwargs (#10331)
* changes

* changes

* format

* add changeset

* add changeset

* docs

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 10:28:16 -08:00
Abubakar Abid
343503d62e
Support gr.load()-ing Gradio apps with Blocks.load() events (#10324)
* changes

* add changeset

* changes

* changes

* add changeset

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 18:14:58 +00:00
Freddy Boulton
354341826a
ImageEditor: Trigger input event even if change event not defined (#10308)
* ImageEditor: Trigger input event even if change event not defined

* add changeset

* empty

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 11:47:27 -05:00
Col0ring
e0cb47f0c5
Fix webcam (#10327) 2025-01-10 16:40:56 +00:00
Charles
bb11a2a702
[ZeroGPU] Handshake-based postMessage (#10270)
* handshake-based ZeroGPU postMessage

* HF Hub dev mode

* window is always defined here

* pnpm format:write

* add changeset

* change

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-10 02:35:19 +00:00
Abubakar Abid
be40307d1d
Add support for thinking LLMs directly in gr.ChatInterface (#10305)
* ungroup thoughts from messages

* rename messagebox to thought

* refactor

* * add metadata typing
* group thoughts when nested

* tweaks

* tweak

* add changeset

* fix expanded rotation

* border radius

* update thought design

* move spinner

* prevent circular reference

* revert border removal

* css tweaks

* border tweak

* move chevron to the left

* tweak nesting logic

* thought group spacing

* update run.py

* icon changes

* format

* add changeset

* add nested thought demo

* changes

* changes

* changes

* add demo

* docs

* guide

* refactor styles and clean up logic

* revert demo change and and deeper nested thought to demo

* add optional duration to message types

* add nested thoughts story

* format

* guide

* change dropdown icon button

* remove requirement for id's in nested thoughts

* support markdown in thought title

* get thought content in copied value

* add funcs to utils

* move is_all_text

* remove comment

* notebook

* change bot padding

* changes

* changes

* changes

* panel css fix

* changes

* changes

* changes

* changes

* tweak thought content opacity

* more changes

* add changeset

* changes

* restore

* changes

* changes

* revert everythign

* revert everythign

* revert

* changes

* revert

* make changes to demo

* notebooks

* more docs

* format

* changes

* changes

* update demo

* fix typing issues

* chatbot

* document chatmessage helper class

* add changeset

* changes

* format

* docs

---------

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-01-10 00:06:07 +00:00
Dawood Khan
d2691e7436
Quick Fix: Multimodal microphone audio not clearing (#10322)
* bug fix

* add changeset

* test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-09 15:44:45 -08:00
Abubakar Abid
391a4d09a9
Add .previous_value to gr.EditData (#10323)
* changes

* add changeset

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-09 13:39:03 -08:00
Hannah
58b839196e
Improve tool UI and support nested thoughts (#10226)
* ungroup thoughts from messages

* rename messagebox to thought

* refactor

* * add metadata typing
* group thoughts when nested

* tweaks

* tweak

* add changeset

* fix expanded rotation

* border radius

* update thought design

* move spinner

* prevent circular reference

* revert border removal

* css tweaks

* border tweak

* move chevron to the left

* tweak nesting logic

* thought group spacing

* update run.py

* icon changes

* format

* add changeset

* add nested thought demo

* changes

* changes

* changes

* add demo

* refactor styles and clean up logic

* revert demo change and and deeper nested thought to demo

* add optional duration to message types

* add nested thoughts story

* format

* change dropdown icon button

* remove requirement for id's in nested thoughts

* support markdown in thought title

* get thought content in copied value

* add funcs to utils

* move is_all_text

* remove comment

* notebook

* change bot padding

* panel css fix

* tweak thought content opacity

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-08 21:27:15 +00:00
Gradio PR Bot
e606d92f11
chore: update versions (#10302)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/chatbot@0.20.1 @gradio/gallery@0.15.0 @gradio/imageeditor@0.12.1 gradio@5.11.0
2025-01-08 12:52:35 -08:00
aliabid94
84e72e401c
Restore chat interface full height (#10314)
* changes

* add changeset

* changes

* fix position of additional examples

* Update shaky-shirts-hammer.md

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-08 12:36:49 -08:00
Freddy Boulton
f19ca89cdd
Add preview_open and preview_close events to Gallery (#10303)
* Add preview_open and preview_close events to Gallery

* add changeset

* notebooks

* trigger change when upload

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-08 20:25:47 +00:00
Freddy Boulton
6b63fdec44
Blocked Paths Fix (#10304)
* add code

* add changeset

* Fix test

* empty

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-08 19:29:39 +00:00
Marwane-20
345851d7a0
Add CODE_OF_CONDUCT file (#10311)
Signed-off-by: Marwane Rachad <marwanerachad@gmail.com>
2025-01-08 09:44:34 -08:00
Freddy Boulton
9fc988ebaf
Fix bug where ImageEditor always sends empty layers list to the backend (#10306)
* Add code

* add changeset

* lint

* empty

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-08 16:46:13 +00:00
Abubakar Abid
1e253ff127
Fix test_subclass_conversion with numpy==2.x (#10297)
* numpy 2

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-07 10:34:36 -05:00
Gradio PR Bot
135630e187
chore: update versions (#10218)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/accordion@0.5.4 @gradio/annotatedimage@0.9.1 @gradio/atoms@0.13.0 @gradio/audio@0.15.0 @gradio/box@0.2.9 @gradio/browserstate@0.3.0 @gradio/button@0.4.0 @gradio/chatbot@0.20.0 @gradio/checkbox@0.4.10 @gradio/checkboxgroup@0.6.10 @gradio/client@1.9.0 @gradio/code@0.10.11 @gradio/colorpicker@0.4.10 @gradio/core@0.6.0 @gradio/dataframe@0.12.6 @gradio/dataset@0.4.0 @gradio/datetime@0.3.2 @gradio/downloadbutton@0.3.0 @gradio/dropdown@0.9.8 @gradio/fallback@0.4.10 @gradio/file@0.12.0 @gradio/fileexplorer@0.5.11 @gradio/form@0.2.9 @gradio/gallery@0.14.1 @gradio/highlightedtext@0.8.10 @gradio/html@0.6.1 @gradio/icons@0.9.0 @gradio/image@0.20.0 @gradio/imageeditor@0.12.0 @gradio/json@0.5.10 @gradio/label@0.5.2 @gradio/lite@5.10.0 @gradio/markdown-code@0.3.0 @gradio/markdown@0.13.0 @gradio/model3d@0.13.11 @gradio/multimodaltextbox@0.9.0 @gradio/nativeplot@0.5.4 @gradio/number@0.5.10 @gradio/paramviewer@0.6.2 @gradio/plot@0.9.5 @gradio/radio@0.6.10 @gradio/simpledropdown@0.3.10 @gradio/simpleimage@0.8.11 @gradio/simpletextbox@0.3.10 @gradio/slider@0.5.10 @gradio/statustracker@0.10.0 @gradio/tabitem@0.4.0 @gradio/tabs@0.4.0 @gradio/textbox@0.10.0 @gradio/timer@0.4.3 @gradio/upload@0.14.4 @gradio/uploadbutton@0.8.0 @gradio/utils@0.10.0 @gradio/video@0.13.0 @gradio/wasm@0.16.0 @self/app@1.45.0 @self/component-test@0.5.1 @self/spa@0.4.0 @self/tootils@0.7.11 gradio@5.10.0 gradio_client@1.5.3 website@0.45.0
2025-01-06 16:02:55 -08:00
Abubakar Abid
f2bd72f9ef
Reset flagged values when switching conversations in chat history (#10292)
* chat history

* add changeset

* changes

* add changeset

* changes

* changes

* more changes

* changes

* changes

* format

* notebook

* fix test

* changes

* add changeset

* changes

* changes

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2025-01-06 13:59:31 -08:00
Abubakar Abid
890eaa3a9e
Allow displaying SVG images securely in gr.Image and gr.Gallery components (#10269)
* changes

* changes

* add changeset

* changes

* add changeset

* changes

* changes

* changes

* add changeset

* add changeset

* add changeset

* format fe

* changes

* changes

* changes

* revert

* revert more

* revert

* add changeset

* more changes

* add changeset

* changes

* add changeset

* format

* add changeset

* changes

* changes

* svg

* changes

* format

* add changeset

* fix tests

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-06 13:07:13 -08:00
Yannick Stephan
99123e75f5
Fixed warning about not being able to find the app for some pattern (#10290)
* updated pattern to support both gr.Blocks and Blocks usage

* add changeset

* add changeset

* Code

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2025-01-06 21:04:43 +00:00
Yuichiro Tachibana (Tsuchiya)
2c099f8d15
Fix js/lite/src/custom-element/index.test.ts that has been failing frequently (#10287)
* Fix js/lite/src/custom-element/index.test.ts that has been failing frequently

* Delete the vite-environment specification
2025-01-05 11:14:31 -08:00