Gradio PR Bot
f719264344
chore: update versions ( #10753 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/accordion@0.5.9
@gradio/annotatedimage@0.9.11
@gradio/atoms@0.14.0
@gradio/audio@0.17.5
@gradio/box@0.2.13
@gradio/button@0.4.10
@gradio/chatbot@0.24.4
@gradio/checkbox@0.4.15
@gradio/checkboxgroup@0.6.15
@gradio/code@0.12.0
@gradio/colorpicker@0.4.15
@gradio/core@0.13.0
@gradio/dataframe@0.17.0
@gradio/dataset@0.4.10
@gradio/datetime@0.3.7
@gradio/downloadbutton@0.3.10
@gradio/dropdown@0.9.14
@gradio/fallback@0.4.15
@gradio/file@0.12.10
@gradio/fileexplorer@0.5.21
@gradio/form@0.2.13
@gradio/gallery@0.15.10
@gradio/highlightedtext@0.8.15
@gradio/html@0.6.6
@gradio/image@0.21.5
@gradio/imageeditor@0.12.12
@gradio/json@0.5.15
@gradio/label@0.5.7
@gradio/lite@5.21.0
@gradio/markdown-code@0.4.1
@gradio/markdown@0.13.5
@gradio/model3d@0.14.5
@gradio/multimodaltextbox@0.9.11
@gradio/nativeplot@0.5.9
@gradio/number@0.5.15
@gradio/paramviewer@0.7.3
@gradio/plot@0.9.10
@gradio/radio@0.6.15
@gradio/sidebar@0.1.7
@gradio/simpledropdown@0.3.15
@gradio/simpleimage@0.8.21
@gradio/simpletextbox@0.3.15
@gradio/sketchbox@0.6.2
@gradio/slider@0.6.3
@gradio/statustracker@0.10.5
@gradio/textbox@0.10.5
@gradio/upload@0.15.5
@gradio/uploadbutton@0.8.10
@gradio/video@0.14.5
@self/app@1.47.7
@self/component-test@0.5.11
@self/tootils@0.7.16
gradio@5.21.0
website@0.53.0
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
Max Friedrich
5e14c43338
Fix for Pydantic 2.11.0b1: handle {..., "additionalProperties": true} in JSON schema ( #10798 )
...
* Handle {..., "additionalProperties": true} in JSON schema
* Fix models
* Add code
* Fix formatting
* changeds
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-13 21:00:35 +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
997ecb40f8
Adds a tutorial explaining share links, debugging share issues, and how to set up your own share server ( #10761 )
...
* changes
* more
* changes
* add changeset
* add tutorial
* revert
* antivirus
* delete changeset
* Update guides/10_other-tutorials/understanding-gradio-share-links.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/10_other-tutorials/understanding-gradio-share-links.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-03-13 09:58:22 -07: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
Abubakar Abid
6fd7fe8b2c
changes ( #10780 )
2025-03-11 10:36:13 -07: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
Pablo Speciale
9e5b0ca0f6
Update utils.py ( #10773 )
...
### Description
This pull request updates the `get_node_path` function in the `gradio/utils.py` file to handle scenarios where the `which` command is missing. The function has been improved by splitting the error handling into two separate `try` blocks for better granularity and robustness.
### Changes Made
- Split the `try` block into two separate `try` blocks for handling Windows and Unix-like systems.
- Added error handling for `FileNotFoundError` in addition to `subprocess.CalledProcessError`.
### Rationale
The original implementation did not properly handle the case when the `which` command is missing. This update ensures the function gracefully handles such scenarios and continues to check other possible locations for the `node` executable.
2025-03-10 17:37:52 -07: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
0ce7bfe1bd
Allow tags for chatbot models using gr.load
( #10768 )
...
* gr.load chatbot fix
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-09 05:26:50 -04:00
Abubakar Abid
4f431fda32
Add gradio sketch
to quickstart ( #10760 )
...
* readme
* changes
* changes
* changes
* changes
2025-03-08 01:30:24 -08:00
aliabid94
dd2de17064
Fix windows path issue in FileExplorer ( #10735 )
...
* changes
* add changeset
* Update file_explorer.py
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-07 14:51:05 -08: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
Mywifi
fb997097bc
Raise exception when startup events fail due to inaccessible localhost ( #10739 )
...
Co-authored-by: vincent@mbp <vincent@macbook>
2025-03-07 06:37:53 -08: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>
@gradio/annotatedimage@0.9.10
@gradio/audio@0.17.4
@gradio/button@0.4.9
@gradio/chatbot@0.24.3
@gradio/client@1.13.1
@gradio/code@0.11.2
@gradio/core@0.12.1
@gradio/dataframe@0.16.5
@gradio/dataset@0.4.9
@gradio/downloadbutton@0.3.9
@gradio/file@0.12.9
@gradio/fileexplorer@0.5.20
@gradio/gallery@0.15.9
@gradio/image@0.21.4
@gradio/imageeditor@0.12.11
@gradio/lite@5.20.1
@gradio/model3d@0.14.4
@gradio/multimodaltextbox@0.9.10
@gradio/sidebar@0.1.6
@gradio/simpleimage@0.8.20
@gradio/sketchbox@0.6.1
@gradio/upload@0.15.4
@gradio/uploadbutton@0.8.9
@gradio/video@0.14.4
@gradio/wasm@0.17.4
@self/app@1.47.6
@self/component-test@0.5.10
gradio@5.20.1
website@0.52.0
2025-03-06 14:29:33 -08:00
Artem Kudisov
19411c6b15
Fix ClearButton ( #10748 )
...
* add deepcopy
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-06 13:52:45 -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
Maxence Leguéry
116a866ffb
Add a demo for highlighting text in a pdf file for LLM RAG purposes ( #10692 )
...
* Add a demo for highlighting text in a pdf file for LLM RAG purposes
* Fix typo in path + demo rename
* generate notebooks
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-03-06 03:20:23 -08:00
Rick van Hattem
2b3842066b
Changed warning stacklevel to improve warnings in console ( #10732 )
...
* Changed warning stacklevel to improve warnings in console
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-05 22:58:48 +00: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
Abubakar Abid
9fce28b76b
Allow sending a custom TLS certificate or no TLS certificate when connecting to custom share servers ( #10728 )
...
* changes
* changes
* add changeset
* changes
* add changeset
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 23:11:31 +00:00
Abubakar Abid
17ffdd26c2
cset
2025-03-04 14:22:12 -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
2248005b10
Add pwa
and enable_monitoring
parameters to mount_gradio_app
( #10720 )
...
* changes
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 14:16:57 -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
Anirban Basu
b3ac430d5e
fix: Check for Node.js path only if SSR mode is true. ( #10721 )
...
* fix: Fixes https://github.com/gradio-app/gradio/issues/10711 .
* add changeset
* chore: Fixed the formatting.
See: https://github.com/gradio-app/gradio/pull/10721#pullrequestreview-2655514471
* fix: Corrected change set label.
* chore: Formatting fix for gradio/blocks.py
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 03:11:45 +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>
@gradio/annotatedimage@0.9.9
@gradio/audio@0.17.3
@gradio/button@0.4.8
@gradio/chatbot@0.24.2
@gradio/client@1.13.0
@gradio/code@0.11.1
@gradio/core@0.12.0
@gradio/dataframe@0.16.4
@gradio/dataset@0.4.8
@gradio/downloadbutton@0.3.8
@gradio/file@0.12.8
@gradio/fileexplorer@0.5.19
@gradio/gallery@0.15.8
@gradio/image@0.21.3
@gradio/imageeditor@0.12.10
@gradio/lite@5.20.0
@gradio/model3d@0.14.3
@gradio/multimodaltextbox@0.9.9
@gradio/simpleimage@0.8.19
@gradio/upload@0.15.3
@gradio/uploadbutton@0.8.8
@gradio/video@0.14.3
@self/app@1.47.5
@self/component-test@0.5.9
gradio@5.20.0
website@0.51.0
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
Ali Abdalla
9b6a29253f
revert ci ( #10697 )
2025-02-27 21:28:13 -08:00
Ali Abdalla
ef24736d01
pin to 3.5 ( #10695 )
2025-02-27 17:56:04 -08:00
Abubakar Abid
bd982df85b
Change gr.load
chatinterface behavior to streaming ( #10688 )
...
* change chatbot to streaming
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-27 09:59:47 -08:00
Ali Abdalla
dfda39fdba
figured it out ( #10689 )
2025-02-26 22:10:38 -08:00
Ali Abdalla
be1844f420
fix ( #10687 )
2025-02-26 21:49:47 -08:00
Ali Abdalla
2fc2f530c5
fix typo ( #10686 )
2025-02-26 21:11:53 -08:00