389 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Freddy Boulton
0b1f72941f
Allow websocket version 15 (#10664)
* Allow ws 15

* 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-24 15:26:51 -05:00
Gradio PR Bot
de3c79c6b3
chore: update versions (#10626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-19 11:47:33 -08:00
Abubakar Abid
4e70d74068
Fix gr.load() for gr.ChatInterface(save_history=True) and any Gradio app where the upstream app includes a gr.State as input (#10580)
* changes

* add changeset

* add changeset

* changes

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-18 21:45:59 -08: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
aliabid94
083d68b223
quick_fix_client (#10547)
* quick_fix_client

* add changeset

* 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-10 15:00:03 -08: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
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
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
Abubakar Abid
3465fdb190
Format backend with latest ruff (#10470)
* format

* add changeset

* more ruff

* changes

* update

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-30 14:13:16 -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
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
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
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
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
Charles
bb11a2a702
[ZeroGPU] Handshake-based postMessage (#10270)
* handshake-based ZeroGPU postMessage

* HF Hub dev mode

* window is always defined here

* pnpm format:write

* add changeset

* change

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-10 02:35:19 +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
da0770748d
Add a settings link to the footer with i18n options & pwa instructions (#10254)
* changes

* add changeset

* changes

* changes

* restore

* changes

* changes

* changes

* changes

* add changeset

* changes

* changes

* changes

* format

* changes

* changes

* changes

* changes

* add guard

* changes

* more changes

* format frontend

* add changeset

* add more translations

* format

* changes

* spacing

* changes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-30 22:30:13 +00:00
Hafedh Hichri
f3bedd4011
add gr.Success and update windows contributing (#10262)
* include windows contributions

* add gr.Success

* add changeset

* contributing

* changes

* clean docstring

* format

* fix typo

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-30 15:25:48 +00:00
Dmitry Ustalov
3f192100d6
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>
2024-12-23 22:33:22 +00:00
Abubakar Abid
506bd2884a
Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets (#10221)
* changes

* changes

* update

* chat history

* add changeset

* changes

* add changeset

* changes

* guide

* changes

* changes

* changes

* guide

* add images

* slack guide

* changes

* format

* add changeset

* finish up slack

* changes

* improve js guide

* update

* changes

* script

* changes

* changes

* add changeset

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/06_creating-a-discord-bot-from-a-gradio-app.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/08_creating-a-website-widget-from-a-gradio-chatbot.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/08_creating-a-website-widget-from-a-gradio-chatbot.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* gradio

* cta

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-12-20 20:36:29 +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
Abubakar Abid
c9ba9a4475
Use the modern lower-case Python types in the API typing information (#10196)
* changes

* add changeset

* add changeset

* add changeset

* changes

* format backend

* format

* fix imagedata

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 12:10:47 -08:00
Abubakar Abid
424365bdbd
JSON type fix in Client and and typing fix for /chat endpoint in gr.ChatInterface (#10193)
* fix

* add changeset

* add changeset

* fix

* chat interface fixes

* rename

* add changeset

* format

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 01:58:03 +00:00
Gradio PR Bot
c5ae60780c
chore: update versions (#10082)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-04 15:04:48 -08:00
Abubakar Abid
5ea3cb51a3
Update requirements.txt for gradio and gradio_client (#10090)
* update reqs

* add changeset

* add changeset

* Update requirements.txt

* Update requirements.txt

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-02 15:02:52 -05:00
Gradio PR Bot
b400706fb6
chore: update versions (#9970)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-27 18:10:49 -05:00
Chandler-Bing
a95fda1f85
Update client.py (#10017)
Update client.py

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-11-25 20:17:25 +00:00
Gradio PR Bot
4d520a8a7b
chore: update versions (#9908)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 16:16:39 -08:00
gianlucaelia
eae345e5fd
Allow settings custom headers in js client (#9930)
* Allow settings custom headers in js client

* add changeset

* get_jwt doesn't need additional headers

* format

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-11-15 12:05:45 -08:00
TakaSoap
d81f430fd5
fix: Fix filename stripping to preserve extensions (#9913)
* fix: Fix filename stripping to preserve extensions

* fix tests

* add changeset

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-07 14:52:20 -04:00
Gradio PR Bot
8e5b5a201e
chore: update versions (#9790)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 12:33:07 -07:00
pngwn
6505d4289a
support gradio apps on spaces served on subpaths (#9814)
* support spaces served on subpaths

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 12:46:30 +01:00
Samy FERGUI
f971ca6ab5
added audioop-lts module to support pydub for python3.13+ (#9757)
* added audioop-lts module to support pydub for python3.13+

* add changeset

* add changeset

* Revert "update prerequisite note to mention python 3.13 issue (#9710)"

This reverts commit 2735e89cd8aa1896945ce3a4a3fa7fd256cda195.

* fixes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-22 13:57:25 -07:00
pngwn
df1cf8f6c5
Speed up CI by avoiding the need to package (#9791)
* optimise typechecking

* fix builds
2024-10-22 15:43:38 +01:00
Gradio PR Bot
5a2967e78a
chore: update versions (#9747)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-21 19:28:58 -07:00
Yanis Lukes
36a5076909
Update client.py: raise error on 429 get_config (#9754)
* Update client.py: raise error on 429 get_config

best not request to again

* add changeset

* lint

* fix error

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-18 10:23:21 -07:00
Samy FERGUI
2735e89cd8
update prerequisite note to mention python 3.13 issue (#9710) 2024-10-17 11:11:23 -07:00
Gradio PR Bot
6953f1957f
chore: update versions (#9697)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 23:36:14 +01:00
Tristan Zhang
2ed236187a
Allow setting title in gr.Info/Warning/Error (#9681)
* Allow setting title in gr.Info/Warning/Error

* fix

* add changeset

* allow title in gr.Error

* make argument consistent

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-15 09:58:00 -07:00
Zhiyang Guo
a25a26e208
Fix: file_types checking bug (#9678)
* Fix: file_types check

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-14 16:45:58 -07:00
pngwn
bbf9ba7e99
i am changesets now (#9612)
* version

* fix
2024-10-09 13:46:26 +01:00