Gradio PR Bot
f611983323
chore: update versions ( #10479 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-04 21:24:38 -08:00
aliabid94
2e8dc74f75
Allow building multipage Gradio apps ( #10433 )
...
* changes
* add changeset
* changes
* chnages
* changes
* changes
* add changeset
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* chagnes
* Update js/core/src/Blocks.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update js/core/src/Blocks.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* docs
* changes
* changes
* changes
* rename guide
* rename guide
* changes
* chagnes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* try skipping
* format
---------
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>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2025-02-04 19:09:00 -08:00
Abubakar Abid
35fda36de9
Add an anchor_links
parameter to gr.ParamViewer
that allows linking to specific parameters. ( #10495 )
...
* changes
* revert
* add changeset
* changes
* add changeset
* fix conflicts with random hash
* pass a string to anchor_links
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-02-04 17:14:54 -08:00
Hannah
afb96c6445
Improve dataframe's upload accessibility ( #10478 )
...
* add aria-labels to dataframe upload
* add changeset
* tweaks
* add changeset
* add aria-labels for other components
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2025-02-04 22:38:29 +00:00
Hannah
10932a291a
Ensure dataframe is not editable when interactive
is False ( #10494 )
...
* fix editing logic
* add story
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-04 00:12:25 +00:00
Hannah
ed7a0919ab
Expand and collapse dataframe cells ( #10463 )
...
* - truncate long cell values
- add expand and collapse logic
* add changeset
* tweak
* add max_chars and single click expanding
* - fix test
- add story
* 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-02-03 22:37:34 +00:00
Hannah
ff5f976bbb
Allow multiline headers in gr.Dataframe ( #10491 )
...
* allow multiline headers
* add story
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-03 21:46:26 +00:00
Hannah
8e40c15669
Implement multiple cell selection ( #10456 )
...
* add group cell selection logic
* hide cell menu button when selected cells > 1
* add delete values logic
* add changeset
* maintain tab navigation
* tweak
* add interaction story
* fix test
* * copy selected cells
* delete and backspace for deletion
* move funcs to utils file
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-03 21:42:41 +00:00
Dawood Khan
3750082b26
Sidebar Fixes ( #10483 )
...
* fixes
* docstring
* add changeset
* changes
* comment
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-03 13:41:29 -05:00
Ali Abdalla
90f90b7989
Add sidebar to the docs ( #10480 )
...
* fixes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-01 00:58:26 -08:00
Freddy Boulton
2cf449abb3
Add more ImageEditor js tests ( #10446 )
...
* code
* Try
* add storybook story
* add changeset
* empty
* use local file
* add changeset
* fix
* Revert "fix"
This reverts commit 42750f3d311da138690cc42014e3dc7afa1d2c53.
* fix
* add code
* add code
* code
* Fix
* Fix
* code
* fix
* delete cheetah
* code
* code
* empty
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-31 13:04:55 -05:00
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