Gradio PR Bot
b7b96e61fb
chore: update versions ( #10464 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-30 14:28:08 -08:00
Dawood Khan
ef66fe52b2
Sidebar Component ( #10435 )
...
* sidebar
* more sidebar
* add changeset
* Update gradio/layouts/sidebar.py
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* changes
* format
* format backend
* responsive
* format
* layout fix
* format
* fixes
* demo
* layout and shadow
* test
* test fix
* format
* changes
* revert
* snake case
* revert
* add warning for multiple sidebar
* changes
* fix stories
* fix height
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-30 13:49:27 -08:00
Abubakar Abid
62d06694dd
Request mic permissions only after the Record button is clicked in gr.Audio()
( #10469 )
...
* changes
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-30 12:51:31 -08:00
Hannah
ca7c47e5e5
Add copy button to dataframe toolbar ( #10461 )
...
* add copy button to df toolbar
* add changeset
* add story
* add show_copy_button param
* copy data with separators and headers
* fix test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-30 17:12:34 +00:00
Yuichiro Tachibana (Tsuchiya)
fa220a31a5
Patch plotly requirement to force to install v5 along with altair ( #10459 )
...
* Patch plotly requirement to force to install v5
* add changeset
* Fix the requirement patcher to be more specific
* Refactoring
* Format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-30 16:20:20 +09:00
Abubakar Abid
a69b8e83ad
Support column/row deletion in gr.DataFrame
( #10420 )
...
* support deletion
* changes
* changes
* add changeset
* update icons
* add changeset
* notebook
* changes
* simplify
* fix icons
* changes
* changes
* change
* revert
* flaky test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-29 12:10:15 -08:00
Gradio PR Bot
7cc5aa195b
chore: update versions ( #10444 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-28 16:37:47 -08:00
Abubakar Abid
337b5224a6
Small tweaks to gr.ChatMessage
and spacing between chatbot messages ( #10448 )
...
* change
* changes
* add changeset
* changes
* move to top
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-28 15:53:15 -08:00
Hannah
dd178f3dd5
Tiny tweak to example dataframes ( #10452 )
...
* add collapsed borders
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-28 23:31:34 +00:00
Yuichiro Tachibana (Tsuchiya)
2167f58fb8
Update Pyodide to 0.27.2 ( #10426 )
...
* Update Pyodide to 0.27.2
* add changeset
* Update pyodide dev dep
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-29 00:14:42 +09:00
Ali Abdalla
f40747c9fd
Fix error with website build in chatbot.svx ( #10443 )
...
* fix syntax
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-27 13:30:45 -08:00
Gradio PR Bot
3608446630
chore: update versions ( #10417 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-23 19:38:46 -08:00
Abubakar Abid
92dda15f6d
Hide the waveform when playing recorded audio if show_recording_waveform
is False
( #10405 )
...
* changes
* add changeset
* revert
* changes
* format
* story
* test
* changes
* add changeset
* changes
* changees
* changes
* changes
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-23 19:13:36 -08:00
Freddy Boulton
71c8b8abbf
Clear Image Editor Value with None ( #10370 )
...
* Code
* Fix
* Add test
* Fix
* Format
* add changeset
* rm for now
* Revert "rm for now"
This reverts commit 3cfbe3c577e365d9d14553e9a109bbe09f8170ac.
* rm for now
* tests
* fix tests
* Add tests
* lint
* Add code
* Fix
* trigger
* Add code
* test
* format
* add changeset
* Fix merge
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-23 17:26:42 -08:00
Freddy Boulton
3c2e12b5ba
Fix ImageEditor Cropping - Cropping now crops the background image instead of the image + canvas ( #10416 )
...
* fix crop
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-23 17:26:20 -08:00
David H.
efd358a54a
Update chatbot.svx for issue#10413 ( #10419 )
...
* Update chatbot.svx for issue#10413
Fix multiple example code syntax errors in line 115-137
Update the example code to ensure compatibility with latest Gradio API
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-23 14:01:18 -08:00
Gradio PR Bot
7377055815
chore: update versions ( #10349 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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
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
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
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
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
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>
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
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>
2025-01-08 12:52:35 -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
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
Gradio PR Bot
135630e187
chore: update versions ( #10218 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-06 16:02:55 -08:00