Gradio PR Bot
899ebb88af
chore: update versions ( #10516 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-11 17:58:27 -08:00
Hannah
b8ff5d6bfe
Add optional search bar to gr.Dataframe
's toolbar ( #10554 )
...
* add test
* add changeset
* fix test
* amend filter behaviour
* fix label and toolbar placement
* edit story
* update filter logic
* rename show_search_input to show_search
* show_search_input rename
* tweak
* clean up
* clean up
* fix filter logic
* tweak
* fix test
* tweak
* amend show_seach options
* amend typing
* tweak
* amend search/filter behaviour
* clean up
* tweak
* more clean up
* tweak
* tweak
* Revert "tweak"
This reverts commit d22462efcb634c4af2e490e0424474745bb777e4.
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-12 01:28:44 +00:00
Hannah
26494cea57
Allow freezing columns in gr.Dataframe
( #10561 )
...
* add frozen col param
* ensure row numbers are frozen
* add changeset
* validate frozen cols value
* format
* ensure column widths are properly applied
* fix chromatic test
* tweak
* adjust col selection logic
* fix test
* rename frozen_cols to frozen_columns
* restore alternating background
* fix widths
* change implementation
* ensure first col cells can be selected
* fix cell selection in col 1
* Revert "change implementation"
This reverts commit 4fb932809fab9566abdd2fb27033f31faba39027.
* fix widths
* frozen => pinned
* Revert "frozen => pinned"
This reverts commit a37616d2b2b0b4b07b1e2444fe98b74435f70ca6.
* Revert "Revert "frozen => pinned""
This reverts commit f16964d15ccbf08ed3727d79c11322bc18ded2e3.
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-11 22:29:49 +00:00
Charles Fettinger
ed25a1053a
Add 1920px wide resolution for wide monitors ( #10552 )
...
* Add 1920px wide resolution for wide monitors
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-11 03:57:39 +00:00
Hannah
111300242f
Fix spacing issue with gr.Dataframe
in Safari ( #10558 )
...
* fix safari spacing issue
* revert changes
* change approach
* add table
* add changeset
* tweak
* tweak
* remove grid
* remove css
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-10 19:52:35 +00:00
Hannah
4c08b9f3c0
Prevent scrolling when the dataframe cell menu is open ( #10553 )
...
* disable scroll when cell menu is open
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-10 19:27:54 +00:00
Freddy Boulton
9b87e12f1a
Fix gr.Plot change/load events and plotly css loaded ( #10544 )
...
* Fix
* Remove load'
* add changeset
* clear event remove
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-08 00:56:22 +00:00
Freddy Boulton
27155cfc0c
Native Plot respects the height parameters ( #10546 )
...
* make height responsive
* add changeset
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-07 19:45:01 -05:00
Hannah
196b600b39
Select entire row or column in dataframe ( #10529 )
...
* add story
* add changeset
* deselect cells when resizing
* clean up
* allow row/col selection in non-editable mode
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-07 23:38:29 +00:00
Hannah
e505fabecb
Add copy button feedback to gr.Dataframe
( #10541 )
...
* add copy button feedback
* add changeset
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-07 21:34:57 +00:00
Freddy Boulton
a18ac9c56a
Fix bug where plots wouldn't load when initial value provided ( #10531 )
...
* Fix interactive plot
* add changeset
* Add story
* add changeset
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-07 12:25:10 -05:00
Hannah
deeebfba46
Revert editable text changes ( #10540 )
...
* fix copy/select logic
* add changeset
* copy to csv intead of tsv
* fix test
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-07 16:50:27 +00:00
Dawood Khan
3748e4c902
Chatbot allow_tags
( #10507 )
...
* fix
* add changeset
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add changeset
* test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-07 03:36:29 +00:00
Yuichiro Tachibana (Tsuchiya)
8e2cf2f32c
Fix the wrapper function of micropip.install to throw the original error for better debug experience ( #10466 )
...
* Fix the wrapper function of micropip.install to throw the original error for better debug experience
* add changeset
* Fix js/lite/src/dev/App.svelte
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-06 19:22:21 -08:00
Hannah
d9098681f8
Ensure max_height
is applied in gr.Dataframe
( #10535 )
...
* add user-select to non-editable cells
* apply max height to virtual table
* add changeset
* add story
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-06 19:14:08 -08:00
aliabid94
855d87001a
Footer alignment fix ( #10534 )
...
* changes
* add changeset
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-06 19:06:09 -08:00
aliabid94
59c892d562
support URL params for themes in SSR mode ( #10533 )
...
* changes
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-06 19:04:56 -08:00
Hannah
2a1fc2a928
Ensure links work as expected in dataframe ( #10520 )
...
* fix click logic for links
* add changeset
* add story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-06 13:14:10 +00:00
Hannah
79937fd760
Change word-break prop in dataframe headers ( #10521 )
...
* change word-break
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-06 12:03:18 +00:00
Abubakar Abid
29880d51fb
Allow showing progress updates on arbitrary components ( #10492 )
...
* changes
* changes
* add changeset
* changes
* changes
* add changeset
* add changeset
* format
* typing
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2025-02-05 16:52:15 -08:00
Freddy Boulton
1269ad0f00
Plotly 6.0 Fix: Install latest plotly js version ( #10515 )
...
* Install latest plotly js libnrary
* add changeset
* Fix
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-05 18:47:32 -05:00
Hannah
178311b72d
Ensure row numbers functionality in dataframe works as expected ( #10490 )
...
* - allow sortig row numbers col
- tidy up header col spacing
- change sort icon
* add changeset
* add story
* - remove width for row number column
- add corresponding colour for sort direction
* separate sort arrow buttons
* add changeset
* padding tweak
* fix sort logic
* tweak
* sort button tweak
* remove sort button for row numbers
* remove row number sort and prevent cell selection
* tidy up utils and add tests
* remove row number sorting
* tweak
* fix
* tweak
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-05 20:20:44 +00:00
Patrick Liu
71e4cd483e
Fixed wrong example usage of docs/gradio/selectdata ( #10510 )
...
* Fixed https://github.com/gradio-app/gradio/issues/10509
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-05 11:33:49 -08:00
Gradio PR Bot
7e69a18da0
chore: update versions ( #10506 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-04 23:44:31 -08:00
Yuichiro Tachibana (Tsuchiya)
b172c19a18
Workaround for Lite to work with multipage client API ( #10505 )
...
* Workaround for Lite to work with multipage client API
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-05 07:07:08 +00:00
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