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
Freddy Boulton
324383fb81
Fix typecheck error due to huggingface_hub update ( #10460 )
...
* fix typecheck
* add changeset
* fix test
* fix
* fix
* fix
* matplotlib
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-29 11:29:36 -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
Yuvraj Sharma
d291dca964
added guide for Anthropics Citations API ( #10439 )
...
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-01-28 15:40:42 -08:00
Abubakar Abid
9dea9b71f1
changelog ( #10455 )
2025-01-28 15:37:28 -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
ddayto
7174340c00
fix: deprecated arguments in stable diffusion demo ( #10434 )
...
* Refactor requirements and improve Hugging Face token handling
- Updated `requirements.txt` to include specific package versions, ensuring better dependency management and compatibility.
- Enhanced `run.py` to check for the Hugging Face access token (`HUGGING_FACE_ACCESS_TOKEN`) at runtime, providing a clear error message if it's missing.
- Replaced deprecated arguments (`use_auth_token`, `revision="fp16"`) with updated ones (`token`, `variant="fp16"`) in the StableDiffusionPipeline setup.
- Added minor formatting improvements to improve readability and maintainability in the `run.py` script.
These changes enhance user clarity, ensure compatibility with updated libraries, and improve the code's overall quality.
* chore: pin versions for diffusers and torch in requirements.txt
* refactor: use standard HF_TOKEN for authentication in run.py
* notebook
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-24 16:51:04 -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
Logan Arkema
90e0b47be3
Update all md5 hashes to sha256 ( #10421 )
...
* Update all md5 hashes to sha256
* add changeset
* format
---------
Co-authored-by: Logan Arkema <ArkemaLJ@gao.gov>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-24 03:31:32 +00: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
Abubakar Abid
516d98b74b
changeset ( #10424 )
2025-01-23 18:06:01 -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
Abubakar Abid
b7a7e59094
Support presigned URLs with gr.Video, gr.Model3D, and other components ( #10406 )
...
* thanks cursor
* add changeset
* add changeset
* add changeset
* changes
* changes
* video
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-23 08:35:53 -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
Erfan Asgari
98e4bf369f
fixed 2 typos in guides ( #10393 )
2025-01-20 07:41:03 -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
951704346c
Ensure columns hidden with pandas .hide()
works as expected ( #10383 )
...
* check hidden_columns
* add changeset
* add test
* lint
* lint
* fix test
* Update gradio/components/dataframe.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* lint
* lint
* lint
* claude said this will fix the test
* lint
---------
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:52:01 -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
Abubakar Abid
5881296ea5
Improve component docstrings and misc docs ( #10367 )
...
* clarify docstrings
* add changeset
* drodpown
* update
* remove fe demo
* add changeset
* changes
* changes
* changes
* add state docs
* lint
* changes
* typo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-16 00:54:10 +00:00
Kevin Backhouse
8cf0461e36
Fix ReDoS ( #10368 )
...
* Fix ReDoS
* 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-15 12:14:39 -08: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
Abubakar Abid
c44da259fe
Allow modifying the chatbot value directly in gr.ChatInterface
( #10359 )
...
* changes
* changes
* add changeset
* format
* blank
* notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-15 07:40:12 -08: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
6a7cfc4264
Compatibility between Client and ZeroGPU ( #10352 )
...
* changes
* changes
* changes
* add changeset
* revert
* add changeset
* change
* changes
* changes
* changes
* format
* changes
* changes
* make public method and add tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-14 15:39:39 -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
Abubakar Abid
decb594455
Update guide for gr.load_chat
and allow **kwargs
( #10331 )
...
* changes
* changes
* format
* add changeset
* add changeset
* docs
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 10:28:16 -08:00
Abubakar Abid
343503d62e
Support gr.load()
-ing Gradio apps with Blocks.load()
events ( #10324 )
...
* changes
* add changeset
* changes
* changes
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 18:14:58 +00:00
Freddy Boulton
354341826a
ImageEditor: Trigger input event even if change event not defined ( #10308 )
...
* ImageEditor: Trigger input event even if change event not defined
* add changeset
* empty
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 11:47:27 -05:00