Gradio PR Bot
9c6c55ba2d
chore: update versions ( #10931 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-08 14:31:44 -07:00
pngwn
2f68c9d988
Refactor and redesign ImageEditor
component ( #10635 )
...
* thanks o3
* add changeset
* more
* make events work
* moreeeeeee
* prettier
* nb
* add changeset
* 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.
* 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>
* more
* Tweak Image Editor UI (#10779 )
* tweak layers ui
* upload alignment and text colour
* change check icon
* zoom tweaks
* tweak layers panel
* changes
* more
* fix image inputs
* more fix
* fix
* fix loading layer via events
* fix loading layer via events
* allow developers to control layers more granularly
* disable pan button when at min zoom
* Update image_editor.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* show visual indicator for outpainting region
* ensure initial image values work
* fix cropped image placement
* fix crop intiialisation options
* demos and fix brush opacity options
* fix layer_options updates and add demo
* more
* fix webcam
* fix
* fix
* improve color swatches
* fix canvas resizing
* simplify crop
* fix crop yet again
* rework controls
* scripts
* tweaks
* tweaks
* fix things
* Add two more demos for `gr.ImageEditor` (#10946 )
* changes
* sketchpad
* changes
* various fixed
* generate notebooks
* update changes
* lockfile
* format code
* notebooks
* tweaks
* fix test
* fix notebooks
* changes
* fix storybook
* changes
* interface
* remove redo/undo story
* fix pytest
* changes
* push
* fiiiiiix
* tweaks
* fix
* fix thingy
* tweaks
* changeset
* add changeset
* fix
* fix
* website build issue
* add changeset
* add layeroptions to docs
* formatting
* 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: Pablo Speciale <pablospe@users.noreply.github.com>
Co-authored-by: Col0ring <47329987+Col0ring@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-04-08 22:02:04 +01:00
Hannah
d654e60ff6
Map search-filtered row indices to original data indices in gr.Dataframe ( #10955 )
...
* map search-filtered row indices to original data indices in SelectData events
* add changeset
* add test
* fix test
* fix test
* nb
* fix test
* display selected cell borders in search results
* fix test
* more robust focus
* nb
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-04-08 08:58:58 -07:00
Hannah
36da6d0d54
Fix value synchronisation issue in gr.Dataframe ( #10918 )
2025-04-05 14:49:08 +01:00
Gradio PR Bot
097838c7ae
chore: update versions ( #10911 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-01 14:25:15 -07:00
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
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
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
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
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
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
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
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
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
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
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
Gradio PR Bot
c05a076752
chore: update versions ( #10634 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-20 14:50:40 -08:00
Yuichiro Tachibana (Tsuchiya)
bd4895a95a
Update Lite to support multi-page apps ( #10569 )
...
* Update Lite to manage the MPA routes in the URL hash
* add changeset
* Fix Lite to manage the MPA path via context
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-19 15:42:05 -08:00
Gradio PR Bot
5d11b1d63a
chore: update versions ( #10588 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-17 17:09:27 -08:00
Charles
b8fada8772
[ZeroGPU] Handshake-based postMessage part.2 (non-SSR mode) ( #10608 )
2025-02-17 16:17:18 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Abubakar Abid
5ce2832497
Support saving chat history in gr.ChatInterface
( #10191 )
...
* save history prototype
* add changeset
* Declare exports in __all__ for type checking (#10238 )
* Declare exports
* add changeset
* type fixes
* more type fixes
* add changeset
* notebooks
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add `gr.BrowserState` change event (#10245 )
* changes
* changes
* add changeset
* format
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* history
* changes
* changes
* changes
* history
* changes
* changes
* changes
* format
* add changeset
* changes
* changes
* more changes
* changes
* dataset changes
* changes
* add changeset
* add md variant for button
* add changeset
* changes
* changes
* format
* format
* add changeset
* changes
* changes
* more changes
* changes
* changes
* add changeset
* changes
* docs
* changes
* changes
* changes
* changes
* fix
* fix tests
* change
* add changeset
* fix logo issue
* changes
* version
* add changeset
* fix typecheck
* remove redundant
* pkg version
* add changeset
* changes
* Revert "changes"
This reverts commit 13bfe8c485d049f7d8c6f1e5c13e2bc04ab71dd5.
* reorganize code
* format
* changes
* add to deployed demos
* fix icons
* fix icon
* lint
* changes
* example
* changes
* fix buttons
* add changeset
* format
* add changeset
* update icon
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: Dmitry Ustalov <dmitry.ustalov@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-01-04 17:42:05 +00:00
aliabid94
1be31c14e2
Allow editable ChatInterface ( #10229 )
...
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-20 16:15:25 -08:00
aliabid94
c3a9e64738
Allow editing chatbot messages ( #10203 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Update gradio/events.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* 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>
2024-12-19 23:54:20 +00:00
Yuichiro Tachibana (Tsuchiya)
64d1864f8f
manifest json
for PWA (#10187 )
...
* Serve manifest.json for PWA
* Set the PWA title
* add changeset
* Add the pwa option to Blocks.launch()
* Set icon files with 192 and 512 pixels which are necessary for PWA on Chrome
* add changeset
* Format
* Configure the /manifest.json path for SPA and SSR
* Set the default value for the name field in the manifest.json
* Fix gr.Interface() not to override the default title value
* Add a test case for ChatInterface.title
* Set the default values to Interface.title and ChatInterface.title
* Revert "Set the default values to Interface.title and ChatInterface.title"
This reverts commit 3574d6b344cb471f519c4b6b1431f2ba474782fa.
* Revert "Add a test case for ChatInterface.title"
This reverts commit 276d6f2af7f8399213b5ec40bd3706601830e0cd.
* Revert "Fix gr.Interface() not to override the default title value"
This reverts commit 90f0efa6925d8563775f3c3fbb1a385553cd610f.
* Enable the PWA feature on Spaces by default
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-19 13:35:07 +09:00
Freddy Boulton
501adefd0c
Some agent low-hanging issues ( #10214 )
...
* Add code
* add changeset
* add changeset
* Fix box closing issue
* Fix handling
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-17 22:21:24 +00:00
aliabid94
3d8fc42c94
Fix render trigger ( #10212 )
...
* changes
* add changeset
* changes
* Update gradio/renderable.py
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>
2024-12-16 21:18:36 +00:00
Gradio PR Bot
dc87afecf4
chore: update versions ( #10127 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-13 12:58:27 -08:00
aliabid94
b4004e37ae
Support event + request data in gr.render triggers ( #10190 )
...
* 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>
2024-12-13 18:50:53 +00:00
Hannah
3665e81b53
Allow Chatbot examples to show more than one image ( #10111 )
...
* change example image limit to 4
* add changeset
* refactor examples
* redesign examples
* aria improvements
* check for multimodal
* use multimedia icons
* clean up
* remove min-height
* add param
* fix test
* Revert "add param"
This reverts commit f858097240c3615c19650b5d5263c70d6a408fac.
* Revert "fix test"
This reverts commit 41570fa1004965479e7692ee83dd33b1d4c709b0.
* handle icon in chat_interface.py
* remove unused css class
* fix types
* format
* fix test
* - change logic to use example icon for text example if exists
- ensure mixed files can be displayed in multiples
* add stories
* tweaks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-13 14:17:48 +00:00