Gradio PR Bot
846b60dbd5
chore: update versions ( #10848 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-24 15:52:12 -04:00
Abubakar Abid
1649b00384
Add support for mermaid.js
in Markdown
component (as well as components like gr.Chatbot
that use Markdown) ( #10854 )
...
* changes
* add changeset
* changes
* format
* add changeset
* notebook
* change
* changes
* format
* story
* changes
* update
* changes
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-24 19:37:20 +00:00
Yuichiro Tachibana (Tsuchiya)
6384bcc11f
Jedi-based Python code completion on gr.Code
( #10812 )
...
* Jedi-based code completion
* Delete unused objects
* add changeset
* add changeset
* Format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-24 19:29:26 +09:00
Freddy Boulton
c05610c87d
Add Deep Links ( #10834 )
...
* WIP
* Fix
* roughdraft
* Workinig
* query params
* add changeset
* modify
* revert
* lint
* Code
* Fix
* lint
* Add code
* Fix
* Fix python unit tests
* Update `markupsafe` dependency version (#10820 )
* changes
* add changeset
* type
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Adds a watermark parameter to `gr.Chatbot` that is added to copied text (#10814 )
* changes
* add changeset
* format'
* test
* copy
* changes
* doc
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix gr.load_chat (#10829 )
* changes
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix typo in docstring of Request class in route_utils.py (#10833 )
* Fix cell menu not showing in non-editable dataframes (#10819 )
* remove editable condition
* - add test
- improve html semantics
* add changeset
* fix test
* fix test
* - fix test
- fix column widths changing on sort
* swap e2e for story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Sketch code generator (#10824 )
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* 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>
* chore: update versions (#10811 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* minor fixes
* fix
* Add guide
* Minor tweaks
* Address comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abdesselam Benameur <abdesselambenameur.pro@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Gradio PR Bot <121576822+gradio-pr-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-21 14:15:34 -04:00
Florian Bruggisser
8ff0a5e3e9
Fix path generation for returned files for bash API ( #10841 )
...
* added error mesasge if wrong route_path has been provided
* implemented fix for bash based data return urls
* add changeset
* removed error message in route_utils to not break gradio
* fix api docs
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-21 12:29:03 +00:00
Clara Rodrigues
3fd4e11f41
Fix #9599 : Preserve preview mode when selected_index exceeds the number of images in the gallery. ( #10816 )
...
* Fix #9599 : Preserve Selected Index in Gallery Component
Fixed preview mode unexpected exit when selected_index is greater
than the number of images in the gallery.
* Fix #9599 : Prevent preview exit when index exceeds image count
Updated the index selection process so that the slider selects the last
image if the chosen index is out of bounds, instead of exiting preview
mode unexpectedly.
2025-03-21 11:34:03 +00:00
Gradio PR Bot
fe8c06afb5
chore: update versions ( #10811 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-18 14:38:44 -07:00
Hannah
ac075ad6aa
Fix cell menu not showing in non-editable dataframes ( #10819 )
...
* remove editable condition
* - add test
- improve html semantics
* add changeset
* fix test
* fix test
* - fix test
- fix column widths changing on sort
* swap e2e for story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-18 18:11:02 +00:00
Abubakar Abid
b42e4612ab
Adds a watermark parameter to gr.Chatbot
that is added to copied text ( #10814 )
...
* changes
* add changeset
* format'
* test
* copy
* changes
* doc
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-17 14:58:58 -07:00
Gradio PR Bot
f719264344
chore: update versions ( #10753 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-13 15:11:33 -07:00
Hannah
8d03368243
Fix max characters in non-editable dataframes ( #10805 )
...
* logic tweak for truncation
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-13 21:24:13 +00:00
Hannah
39c30be162
Add parent focus for drag selection ( #10804 )
...
* add drag focus
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-13 13:27:58 -07:00
Hannah
9ec8898c0f
Fix excess scroll bug in dataframe ( #10802 )
...
* fix excess scroll
* add changeset
* fix test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-13 17:44:49 +00:00
Abubakar Abid
681254453a
On Windows OS, hide gr.Dataframe
scrollbars while keeping scrolling functionality ( #10784 )
...
* scrollbars
* add changeset
* add changeset
* add changeset
* format
* changes
* revert
* add changeset
* revert everything
* revert
* delete changeset
* changes
* add changeset
* Changes"
push
"
;
* changes
* changes
* changes
* notebook
* maybe a simpler fix
* - add css tweaks back in
- add touch device improvement
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2025-03-13 00:05:07 -07:00
Hannah
88941b655e
Remove fixed layouts from dataframe ( #10786 )
...
* remove fixed layout
* add changeset
* tweak
* - remove css widths on change
* tweak
* allow % widths
* add story
* dataframe
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-12 22:44:29 +00:00
Dawood Khan
cae5517307
Fixed size for pending thoughts ( #10671 )
...
* restyle
* style
* add changeset
* nested thoughts
* nested fix
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-12 17:51:13 +00:00
Hannah
373007b3e9
Allow sorting by multiple columns in dataframe ( #10778 )
...
* add sort by multiple columns logic
* add changeset
* fix sort tests
* priority design tweaks
* tweak
* add story
* improvements to sort buttons
* add changeset
* - reset sort after update
- fix order
* sort icon border tweak
* reset sort state on change
* move sort to cell menu
* add changeset
* add sort story
* fix type check
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-12 09:42:07 +00:00
Hannah
b3e8c263be
Implement cell selection via drag in dataframe ( #10787 )
...
* add dragging interaction
* add changeset
* fix
* fix cursor
* add drag test
* change test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-11 20:24:59 -07:00
Abubakar Abid
fb8c1cb6d1
Move gr.Textbox
lines logic to frontend ( #10785 )
...
* changes
* add changeset
* test
* fix max lines
* fix e2e test
* add changeset
* changes
* format
* warnings textbox
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-11 23:10:35 +00:00
Yuichiro Tachibana (Tsuchiya)
731ab92001
Autocompletion on code editor component ( #10733 )
...
* Update CodeMirror packages to use the autocompletion feature of lang-python
* Add autocomplete option to the Code component
* add changeset
* Add AutocompleteTheme
* Fix test
* Fix docstring
* Enable autocompletion on Playground
* add changeset
* add changeset
* Assign Tab to acceptCompletion
* Enable autocompletion in the playground mode of Lite apps
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-03-11 19:51:29 +09:00
Abubakar Abid
3b483672f4
Allow navigating down from header cells, as well as support cmd/ctrl + arrow keys ( #10777 )
...
* keyboard
* add changeset
* format
* changes
* s
* changes
* changes
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-11 09:57:05 +00:00
Col0ring
3232cddc00
fix: latex rendering of markdown ( #10765 )
...
* fix: latex rendering of markdown
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-11 01:05:24 +00:00
Abubakar Abid
85f6132f1f
Fix cell selection when using shift + arrow keys ( #10776 )
...
* changes
* add changeset
* changes
* add changeset
* remove console
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-10 14:39:55 -07:00
Hannah
c44b8f47b9
Add static_columns
param for interactive dataframes ( #10734 )
...
* allow showing image sin dataframe with image component
* add scroll to top button
* add changeset
* fix truncated text issue + prevent truncating non-text data
* refactor with state mgmnt
* add changeset
* formatting
* tweaks
* tweak
* add e2e tests
* notebook
* more component extraction, move css to components
* type fixes
* test fixes
* fix test
* notebook
* add changeset
* fix tests
* fix test
* fix test
* remove misc.css file
* reset sort
* fix z-index over progress bar
* css tweak
* fix search and add search to e2e test
* fix keyboard reactivity issue
* add cell selection e2e tests
* z-index fixes
* ensure unique context ids
* fix row number bug
* frozen -> pinned
* pinned col border tweak
* pinned col fix when show_row_numbers is true
* header tweak
* fix pinned columns clash with column_widths
* add row test
* add static_cols param and test
* add changeset
* tweak
* fix tests
* test tweaks
* add row story
* tweaks
* fix test
* tweak
* redesign selection buttons
* fix test
* fix test
* fix test
* fix test
* edit demo with static cols
* change to list[int]
* cursor tweak
* fix test
* nb
* set col count to fixed if static_cols are set
* lint
* tweak demo
* fix col count logic
* add padlock icon
* fix py test
* lint
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-10 19:10:36 +00:00
Dawood Khan
3086343a68
Allow custom tags for chatbot ( #10743 )
...
* restyle
* style
* add changeset
* nested thoughts
* nested fix
* format
* allow_tags
* allow-tags for load
* undo
* add changeset
* allow custom tags
* format
* extract html tags into file
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-07 21:45:54 +00:00
Hannah
b4342d24a8
Fix dataframe search and filter functionality ( #10757 )
...
* store and update rows with indices value
* clean up search/filter logic and remove duplicate functions
* add changeset
* add make_headers tests
* simplify logic
* lint
* add changeset
* ts fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-07 20:16:50 +00:00
Hannah
b5ca1dcfdf
Refactor gr.Dataframe
( #10631 )
...
* allow showing image sin dataframe with image component
* add scroll to top button
* add changeset
* fix truncated text issue + prevent truncating non-text data
* refactor with state mgmnt
* add changeset
* formatting
* tweaks
* tweak
* add e2e tests
* notebook
* more component extraction, move css to components
* type fixes
* test fixes
* fix test
* notebook
* add changeset
* fix tests
* fix test
* fix test
* remove misc.css file
* reset sort
* fix z-index over progress bar
* css tweak
* fix search and add search to e2e test
* fix keyboard reactivity issue
* add cell selection e2e tests
* z-index fixes
* ensure unique context ids
* fix row number bug
* frozen -> pinned
* pinned col border tweak
* pinned col fix when show_row_numbers is true
* header tweak
* fix pinned columns clash with column_widths
* add row test
* tweak
* fix tests
* test tweaks
* add row story
* tweaks
* redesign selection buttons
* fix test
* fix test
* fix seach issue
* allow navigation with arrows when not in editing mode
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-07 10:52:18 +00:00
Gradio PR Bot
db0e09ce21
chore: update versions ( #10717 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-06 14:29:33 -08:00
Dawood Khan
1cf992b042
Sidebar fixed positioning ( #10737 )
...
* return back to fixed positioning
* add changeset
* fix mobile double sidebars
* add changeset
* remove sidebar embedded demo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-06 16:13:31 +00:00
Ali Abdalla
a89fa288f4
Add missing docs and fix gaps in website ( #10744 )
...
* fix filepath mention in custom css guide
* write and fix docs for event data classes
* add changeset
* Update js/_website/src/lib/templates/gradio/04_helpers/05_selectdata.svx
* Update js/_website/src/lib/templates/gradio/04_helpers/05_selectdata.svx
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-06 07:54:01 -08:00
aliabid94
16244f3c1c
Event Listeners in gradio sketch ( #10694 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* chagnes
* add changeset
* changes
* fix sidebar visible false
* 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-03-05 01:39:45 -08:00
aliabid94
b710d7cf13
Fix error display ( #10719 )
...
* changes
* add changeset
* 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>
2025-03-04 14:17:13 -08:00
Abubakar Abid
667f8a1f82
Fix Chatbot avatar image position ( #10724 )
...
* pending
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 21:23:06 +00:00
Péter Gyarmati
5faa2a34cc
chore: bump Pyodide version to 0.27.3 ( #10706 )
...
* chore: bump Pyodide version to 0.27.3
* add changeset
* chore: remove `packageManager` from package.json
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 01:44:26 +09:00
Gradio PR Bot
54fd90703e
chore: update versions ( #10700 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 14:02:29 -08:00
Gradio PR Bot
87820551ee
chore: update versions ( #10693 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 13:16:35 -08:00
Ali Abdalla
92d5ac8e67
Static llms.txt route on the website ( #10677 )
...
* create route
* add changeset
* formatting
* fix
* fix
* actually fix
* formatting
* try with cloudflare adapter?
* test
* damn
* using cloudflare adapter properly
* formatting
* please
* ??
* ???
* test
* fix
* fix
* ????
* lockfile
* do just static instead
* add changeset
* remove instructions
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-28 21:10:34 +00:00
Abubakar Abid
16d419b9f1
Allow functions that solely update component properties to run in the frontend by setting js=True
( #10500 )
...
* changes
* add changeset
* revert
* changes
* add changeset
* changes
* fe changse
* notebook
* changes
* fix fe
* changes
* add changeset
* change
* add changeset
* notebook
* add tests
* changes
* changes
* changes
* changes
* changes
* type
* changes
* changes
* changes
* notebooks
* fix
* fix
* changes
* changes
* changes
* changes
* changes
* notebooks
* changes
* revert
* changes
* changes
* changes
* notebook
* changes
* done
* changes
* add changeset
* update
* changes
* add changeset
* added a guide
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-28 12:45:20 -08:00
Gradio PR Bot
13c6b61ea1
chore: update versions ( #10674 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-26 16:29:46 -08:00
XcantloadX
36309ea55f
Automatically restore last scroll position in multiple-choice dropdowns ( #10659 )
...
* fix: automatically restore last scroll position in mutiple-choice dropdown (#10350 )
* add changeset
* fix typing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-27 00:03:32 +00:00
Dawood Khan
367fe14381
Fix chatbot share button payload too large ( #10683 )
...
* chatbot share link formatting
* add changeset
* Update utils.ts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 17:21:31 -05:00
Abubakar Abid
249eccd81a
Fix Dataframe header type to allow integer values ( #10678 )
...
* change
* add changeset
* generify
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 20:15:20 +00:00
Hai Handsome
cb3c76205c
Add Thai Translate ( #10679 )
...
* Add Thai Translate
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 11:11:24 -08:00
Abubakar Abid
a15964db87
Update banner to point to FastRTC ( #10670 )
...
* banner
* library
* add changeset
* add changeset
* format
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-25 09:10:11 -08:00
Gradio PR Bot
42053705a8
chore: update versions ( #10651 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 17:58:24 -08:00
aliabid94
d1b063fb0c
Add load_chat documentation ( #10669 )
...
* changes
* add changeset
* Update js/_website/src/lib/templates/gradio/04_helpers/load_chat.svx
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
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-02-24 16:49:48 -08:00
Dawood Khan
d06f3e3e08
Chatbot thoughts generating animation ( #10636 )
...
* pending dots
* add changeset
* fix
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-24 16:48:15 -08:00
Lalit Yadav
f0a920c493
added a show_line_numbers to toggle line numbers in gr.Code() ( #10643 )
...
* added a show_line_numbers to toggle line numbers in gr.Code()
* added a show_line_numbers to toggle line numbers in gr.Code()
* add changeset
* notebook
* test_code.py updated to include show_line_numbers
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-21 22:11:42 +00:00
Gradio PR Bot
e943e29f6e
chore: update versions ( #10642 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-21 13:56:39 -08:00
Abubakar Abid
b01ce47056
Fixes cell-selection logic in Table.svelte
( #10646 )
...
* changes
* add changeset
* changes
* patch
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-21 10:39:53 -08:00