Commit Graph

323 Commits

Author SHA1 Message Date
Gradio PR Bot 0fd56c10c7 chore: update versions (#13691)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-29 19:25:34 +00:00
Dawood Khan a1c3ffc111 fix: recover unpublished 6.21 release (#13690) 2026-07-29 15:07:19 -04:00
Dawood c3c5c67f47 Revert "fix: recover unpublished 6.21 release"
This reverts commit dfdae7a384.
2026-07-29 14:46:30 -04:00
Dawood dfdae7a384 fix: recover unpublished 6.21 release 2026-07-29 14:44:38 -04:00
Gradio PR Bot cf6eb09e39 chore: update versions (#13609)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2026-07-29 12:42:57 -04:00
Abubakar Abid 2d753d0e86 Let API callers supply a token for gr.OAuthToken endpoints (#13667)
* Let API callers supply a token for gr.OAuthToken endpoints

`gr.OAuthToken` was only ever populated from the OAuth session cookie, so it
was always `None` for an API caller — no browser, no session. Any app whose
function takes one could not be driven programmatically at all, which is how
this surfaced: a deployed `gr.Workflow` reached its model nodes with no token
and failed with "Sign in with your HF account to use this model".

Callers can now pass `Client(..., oauth_token=...)`, which travels in the
request body as a reserved `oauth_token` field rather than a header — a Space
sits behind a proxy that strips `x-hf-*`, so a header never arrives. Because it
rides beside `data` instead of in it, it never becomes a positional argument or
appears in an endpoint's parameter schema, and it can't be captured by flagging
or cached examples. It also works from `curl` and any other client, with no
client-side support needed.

A token is sent only to endpoints that declare they take one: `get_api_info`
reports `oauth_token: "required" | "optional"` per endpoint, derived from the
function signature, and the client consults that before including the field. So
an app cannot collect tokens from calls that had no reason to carry one, and
`view_api()` states plainly which endpoints act on the caller's behalf.
`oauth_token=` is deliberately separate from `token=`, which only authenticates
the caller to the app, and is never inferred from a locally saved token.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Support oauth_token in the JS client, and move the e2e test

The JS client gains the same `oauth_token` option and the same gating: it is
included in the payload only for endpoints whose api_info declares they take a
gr.OAuthToken, so parity with the Python client holds and an app still cannot
collect tokens from calls that had no reason to carry one.

The end-to-end check moves into test_external.py, which already hits real
Spaces and is marked flaky and serial, rather than living in a file of its own.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Address review: narrow the token flag, and close two ways to bypass the gate

`oauth_token_requirement` scanned every annotation, including the return type,
so a function that *returned* an OAuthToken was reported as one that receives
one. It now looks only at parameters.

`/call/v2` popped `oauth_token` from every request body, which reserved the name
globally and would swallow a real parameter that happened to be called that. It
is only treated as reserved for endpoints that declare they take a token.

In the client, `**kwargs` expanded after the gated payload, so passing
`oauth_token=` as an ordinary keyword argument would have sent a token to an
endpoint that never asked for one. The computed payload now goes last and wins.

Also reworded a docstring that opened with a quoted word, which `ruff format`
had to space away from the opening triple quote.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Satisfy the backend type checker

`oauth_token_requirement` returned plain `str`, which cannot be assigned to the
`Literal["required", "optional"]` key on the APIEndpointInfo TypedDict, and the
e2e test subscripted `view_api()` (overloaded on return_format) and iterated
client.endpoints without narrowing the value type.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Surface oauth_token in the API docs, and fix the JS client gate

The per-endpoint `oauth_token` requirement reached `/info` but stopped there,
so nothing downstream showed it or acted on it:

- `transform_api_info()` rebuilt each endpoint as {parameters, returns, type},
  dropping `oauth_token`. `submit()`'s gate therefore never matched and the JS
  client never sent a token at all.
- The view-API page said nothing about which endpoints act on the caller's
  behalf, and its snippets omitted `oauth_token` so copy-paste didn't work.
- Sending `oauth_token` to an endpoint that takes no token 500'd on
  `construct_args`; it is now stripped from the args either way and only
  honored where the fn declares one.

Also trims the explanatory inline comments added across the branch.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Make the oauth_token notice font sizes consistent

The first paragraph inherited --text-md while .desc set --text-lg, so the
subdued explanation rendered larger than the primary statement. Both are prose
now at --text-lg, and the inline mono spans drop a step to sit optically level
with it — matching the sibling parameters section (h4 14px, prose 16px, mono
14px).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* Stop reserving the oauth_token body key on every endpoint

Popping it unconditionally fixed the 500 on endpoints that take no token, but
it also swallowed the value of any endpoint whose own parameter is named
oauth_token (github-pilot caught this). The name is now reserved only where the
fn declares a gr.OAuthToken; elsewhere it stays an ordinary argument if the
endpoint has one by that name, and is dropped if it does not — so neither the
500 nor the swallowing happens.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 11:48:27 -04:00
Abubakar Abid 72058560a6 Preserve filenames in JS client uploads and use handle_file in generated JS API snippets (#13656)
* Preserve File names in JS client uploads and use handle_file in generated JS API snippets

- handle_file() no longer strips a File down to a bare Blob, and
  walk_and_store_blobs() no longer re-wraps Blobs/Files, so original
  filenames and MIME types survive the multipart upload (fixes #10758).
- The auto-generated JavaScript API snippet now imports handle_file and
  wraps fetched blobs with handle_file() for file-based components
  (fixes the snippet half of #12077).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Guard Buffer instanceof check in handle_file for browser environments

Addresses Copilot review: in browsers without a Buffer polyfill,
`file_or_url instanceof Buffer` threw a ReferenceError before the Blob
branch was reached. Use the same globalThis.Buffer guard as
walk_and_store_blobs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Remove snippet unit tests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 19:01:05 -07:00
Abubakar Abid 95369a3dda Fix Windows filename/path handling (reserved names, node probe, file URLs) (#13622)
* Fix Windows filename and path handling across uploads, node lookup, and preview

Prefix reserved DOS device names in strip_invalid_filename_characters, silence where/which node stderr, and use proper file:// URLs for Windows paths.

Co-authored-by: Cursor <cursoragent@cursor.com>

* add changeset

* Keep Model3D unhandled rejection suppressor active for full test run

Babylon.js can reject after the file-level afterAll removed the listener, causing flaky js-test failures.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Check first dot segment for Windows reserved device names

Windows resolves device names from the segment before the first dot
(NUL.tar.gz is the NUL device), but the check used os.path.splitext,
which splits on the last dot, letting names like CON.tar.gz through.
Match CPython's ntpath.isreserved instead, and extend the reserved set
with CONIN$/CONOUT$ and the superscript COM/LPT variants.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 00:49:47 -07:00
Abubakar Abid 3b12faa404 Keep in-flight events working when an app is hot-reloaded (#13627)
* Fix in-flight events breaking when an app is hot-reloaded

When running `gradio app.py`, saving the file while a function (especially
a generator) is mid-run caused every subsequent yield to fail with
"Returned component ... not specified as output of function" or a KeyError
in the state holder, because the event kept processing against a mix of
old and new blocks config.

- Remap pending/running queue events to the new app's BlockFunction
  (matched by api_name) when blocks are swapped after a reload
- Re-read the event's fn on each generator iteration in the queue loop
- Fall back to matching returned dict components to outputs by key when
  the component object is stale
- Carry over pending streaming/diff state so in-flight generators keep
  sending diffs instead of resetting the stream protocol

Fixes #8712

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fix type check failure in reload Event test

Pass a real fastapi.Request instead of None so ty accepts Event construction.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Handle output components added during a hot reload

When a generator is mid-run and the app is hot-reloaded to add a new output
component, the reassigned function emits an update for a component that is not
yet in the session config, and the diff stream gains an extra output.

- Guard the state lookup in postprocess_data so an update for a freshly-added
  output falls back to the block's own constructor args instead of KeyError
- Add SessionState.get for the above
- Grow the Python client's diff buffer when a new output appears mid-stream
- Start unseen outputs from null in the JS client's diff stream

Relates to #8712

Co-authored-by: Cursor <cursoragent@cursor.com>

* changes

* Address Copilot review: snapshot queue collections during reload, catch settled() rejection

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test: cover in-flight generator streaming across hot reload

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Prettier formatting in state.svelte.ts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Fix hot reload rebinding across repeated reloads

* Stabilize chatbot feedback browser test

* Preserve loading status when dependency ids shift on reload

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 12:06:45 -07:00
Abubakar Abid 9e63dfdad8 test: trim redundant component event e2e coverage (#13576) 2026-07-01 10:27:32 -07:00
Abubakar Abid c43d4ea998 Remove AI-generated PR labeling workflow (#13493)
* Remove AI PR labeling workflow

* Mark Hub-dependent tests flaky
2026-06-06 10:28:51 -07:00
Gradio PR Bot 43f5de6857 chore: update versions (#13255)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-20 18:57:53 -04:00
Freddy Boulton d6f24df623 Improve curl info (#13289)
* Add code

* latest

* add changeset

* Exclude newer from gradio-client and hf-gradio

* Add logos

* Format

* fix

* edit snippets

* Clean

* Add code

* Add code

* Fix code

* Remove ws + address comments

* add changeset

* Add code

* Fix error messages

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-04-20 16:34:57 +00:00
Param bb9c130e1e Fix snippet generator crash on datetime values in Dataframe inputs (#13280)
* fix snippet generator crash on datetime values in Dataframe inputs

The _stringify_py function in snippet.py calls json.dumps on prepared
values, but datetime objects (and other non-JSON-native types) fall
through _prepare unchanged, causing a TypeError.

Pass default=str to json.dumps so that datetime, date, Decimal, UUID,
and similar types are serialized via their __str__ method instead of
raising.

Fixes #13278

* add changeset

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-04-16 14:12:33 -04:00
Gradio PR Bot 2428047143 chore: update versions (#13200)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-10 16:38:10 -04:00
Freddy Boulton ff909638e7 Add Documentation Group for gr.Cache (#13246)
* Add Documentation Group for gr.Cache

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-04-10 13:32:00 -04:00
Tim Ren 9953db94e4 fix: preserve special characters in uploaded filenames (#13204)
* fix: preserve special characters in uploaded filenames

Change filename sanitization from allowlist to blocklist approach.
Previously only alphanumeric chars and `._-, ` were allowed, stripping
valid characters like parentheses, brackets, braces, exclamation marks,
and unicode punctuation. Now only truly dangerous characters are removed:
path separators (/ \), null bytes, control characters, and Windows-
forbidden characters (< > : " | ? *).

Fixes #11983

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: add DEL char and shell-dangerous chars to forbidden set, move regex to module level

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* add changeset

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-04-08 18:34:26 +00:00
Gradio PR Bot 5747097e2c chore: update versions (#12978)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-24 16:58:32 -04:00
Abubakar Abid 72e9eeedee Gradio Server Mode (#13117)
* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* add changeset

* Update run.py

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-03-24 11:23:00 -07:00
Freddy Boulton a35f5896e4 Gradio Prediction CLI Commands (#13045)
* Prediction CLI

* add changeset

* Fix unit tests

* Fix skill + unit tests

* Allow download_files'

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-03-23 16:03:04 -04:00
Giulio Leone 4a4c7f3b0d preserve file extension when filename stem is stripped entirely in gr.File (#12979)
* fix: preserve file extension when filename stem is stripped entirely

When uploading a file whose name consists entirely of characters that
`strip_invalid_filename_characters` removes (e.g. `#.txt`), the stem
becomes empty and the result is just `.txt`. `Path(".txt").suffix`
returns an empty string (Python treats it as a dotfile stem), so the
subsequent `is_valid_file` check fails with "Invalid file type" even
though the actual extension is valid.

Use fallback name `"file"` when the sanitized stem is empty but an
extension exists, producing `file.txt` instead of `.txt`.

Fixes #12075

Signed-off-by: Giulio Leone <6887247+giulio-leone@users.noreply.github.com>

* add changeset

* add changeset

* chore: re-trigger CI (flaky network test)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Signed-off-by: Giulio Leone <6887247+giulio-leone@users.noreply.github.com>
Co-authored-by: Giulio Leone <6887247+giulio-leone@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
2026-03-12 19:23:47 +00:00
Gradio PR Bot 41e98f9468 chore: update versions (#12953)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-06 12:21:33 -05:00
pngwn c4986883b2 Ensure svelte version mismatches do not break custom components (#12879)
* fix

* fix all

* clean

* clean

* add changeset

* format

* format

* cleanup

* fix lockfile

* fix

* fix

* fix things

* lockfile

* format

* add changeset

* fix tests

* fix

* fix

* fix?

* format

* manually resolve svelte

* fix

* format

* add changeset

* Add back svelte preprocessors

* format backend

* handle tests

* format

* add changeset

* format

* format

* format

* fix

* format

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
2026-03-04 17:52:52 +00:00
Giulio Leone e5ba4fa992 perf: use deque for SSE pending message queues in gradio_client (#12942)
* perf: use deque for SSE pending message queues in gradio_client

pending_messages lists are drained front-to-back via .pop(0) inside
the SSE streaming loop.  Each .pop(0) is O(n); switching to
collections.deque with .popleft() gives O(1) front removal.

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-03-02 14:45:42 -05:00
Freddy Boulton e3710a3c18 Fix OOM error in gr.load (#12928)
* Fix OOM error in gr.load

* add changeset

* Fix flaky test

* Serial

* Fix client tests

* Add code

* Back out js/css/ load from hub

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-02-27 14:01:27 +00:00
Gradio PR Bot 8b03393a51 chore: update versions (#12902)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-26 09:33:53 -05:00
Abubakar Abid e29e1ccd58 Add Space-specific skill generation to gradio skills add (#12918)
* changes

* add changeset

* add Space-specific skill info to README

Co-authored-by: Cursor <cursoragent@cursor.com>

* add AGENTS.md with repo structure and PR guidelines for AI agents

Co-authored-by: Cursor <cursoragent@cursor.com>

* changes

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-24 11:19:11 -08:00
Gradio PR Bot 8984159325 chore: update versions (#12850)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-17 17:13:41 -05:00
Freddy Boulton 8f8cef87bf Fix windows tests (#12811)
* Fix windows tests

* Install extras

* Fix

* Fix

* Fix

* Fix

* Fix pyi test

* Fix for real

* Fix

* Fix now

* Lint

* Fix

* Windows fix

* add changeset

* Fix

* Fix

* Reduce code dupe

* add changeset

* Change back to main tag

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-02-17 14:45:12 -05:00
Freddy Boulton fc7c01ea1e Validate proxy url host (#12882)
* Validate proxy url host

* add changeset

* add changeset

* Fix test

* Add another test

* rm changeset

* add changeset

* Format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-02-17 14:33:51 -05:00
Ali Abdalla b01c95a58b Rewrite behavior section of docs (#12700)
* add new behavior section

* add changeset

* remove hardcoded annotatedimage

* fix syntax highlighting issues

* reword

* rewrite component docstrings for better formatting

* add changeset

* fixes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
2026-02-17 21:36:26 +04:00
Gradio PR Bot 8b70fa81b5 chore: update versions (#12623)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-09 18:47:52 -05:00
lif 6222192424 fix(client): make WebP and VTT MIME type detection case-insensitive (#12614)
* fix(client): make WebP and VTT MIME type detection case-insensitive

The get_mimetype function was checking file extensions in a case-sensitive
manner, causing files like "photo.WEBP" to fail validation when used with
file_types=['image'].

This fix makes the extension checks case-insensitive for .webp and .vtt files.

Fixes #12036

Signed-off-by: majiayu000 <1835304752@qq.com>

* add changeset

---------

Signed-off-by: majiayu000 <1835304752@qq.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2026-01-05 13:28:53 +00:00
Gradio PR Bot 3b56b13268 chore: update versions (#12545)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-19 13:09:23 -05:00
Freddy Boulton 1fafabaace Add x-gradio-user-header (#12600) 2025-12-19 09:27:54 -05:00
Abubakar Abid fac3844e01 Upgrade ty to 0.0.2 (#12582)
* changes

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-12-18 12:28:58 -08:00
Freddy Boulton 1724a02f37 Remove checkmark from windows (#12585)
* Remove checkmark from windows

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-12-18 15:26:29 -05:00
Gradio PR Bot 7a8894d724 chore: update versions (#12478) 2025-12-01 20:43:39 -05:00
Paco Aranda b9732d1068 [BUGFIX] Fix stream file download in gradio client (#12480) 2025-12-01 19:50:20 -05:00
Freddy Boulton 472e16439f Make client backwards compatible with version 5 (#12490)
* Make client backwards compatible with version 5

* add changeset

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-12-01 16:58:41 -05:00
Freddy Boulton be9a7359c6 Fix gradio client import issue (#12474)
* Fix gradio client issue

* add changeset

* Format

* Fix import issue

* Fix

* Remove from package

* Add to git

* delete changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-11-26 15:29:03 -05:00
pngwn 7e867fde90 Cc fixes 6.0 (#12416)
* Add code

* Fix

* version numbers

* Remove `crop_size` parameter from `ImageEditor` component (#12007)

* Remove crop_size parameter from ImageEditor __init__ function and docstring description

* Remove conversion code and deprecation warning message

* Fix docstring typo

* Remove deprecated ImageEditor crop_size references from demo files

* Remove crop_size parameters and variable assignments in super().__init__() calls for Sketchpad, Paint, and ImageMask classes that inherit from ImageEditor

* Regenerated notebook files

---------

Co-authored-by: pngwn <hello@pngwn.io>

* add changeset

* Fix (#12014)

* Remove tuples format from the chatbot (#12012)

* First draft

* Fix tests

* add changeset

* format

* Fix reload test

* Fix chatbot unit tests

* lint

* lint2

* Python unit tests

* Fix code

* Fix notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* fix: enable padding by default in Markdown component (#12010)

* fix: enable padding by default in Markdown component

* add changeset

* add changeset

* Fix: set the padding to false for both HTML and Markup

* Enable padding by default in HTML component

* fix: Fixed failing unit test and a docstring

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Make allow_tags=True the default in gr.Chatbot (#12027)

* Set allow tags to true by default.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Remove all parameters with deprecation warnings (#12047)

* Fix

* Fix

* Fix

* lint

* Fix

* Remove max_length and min_length from gr.Audio and gr.Video (#12043)

* Audio

* Fix

* Video

* Fix

* Docs

* Fix tests

* Fix

* Fix

* Fix typos

* Add a single `buttons` parameter to components instead of the various `show_xxxxxxx_button` parameters (#12042)

* change buttons

* docstring

* changes

* changes

* notebooks

* changes

* changes

* fix tests

* fix lint

* changes

* changes

* fix json test

* story

* format

* Rename hf token to token (#12048)

* Rename hf_token -> token

* remove

* Do client

* remaining files

* Guides

* Fix

* empty

* Video subtitles (#12041)

* subtitles

* add video subtitles and allow json subs

* add changeset

* format

* notebook

* remove

* remove test files

* notebook fix

* merge fix

* remove unused prop

* type fix

* test fix

* test fixes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix

* remaining fixes

* Fix rapid generation

* Remove Websockets (#11996)

* remove ws

* Fix:

* remove

* remove ws

* Format

* Bump client versions for release (#12059)

* Fix

* Fix

* fix (#12061)

* chore: update versions (dev) (#11909)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Handle special characters in native plot column names (#12064)

* changes

* add changeset

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Remove more deprecated parameters for the native plot components (#12063)

* more depr

* add changeset

* changes

* add changeset

* fix demos

* fix demos

* serial test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Gallery: Allow empty columns when items < columns (#12066)

* Allow empty columns when items < columns

* Fix

* add changeset

* fix button mistake

* Add story

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Rename show_api (#12069)

* commit

* rename

* add changeset

* Change dependency versions to major

Updated dependency versions from minor to major for several packages.

* Fix test

* Rename

* empty

* Fix

* reformat

* empty

* Fix

* Empty

* Fix

* Fix

* Comments

* trigger

* Update demo/mcp_tools/run.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Use function name as the api route name in gr.Interface and gr.ChatInterface (#12086)

* Fix

* add changeset

* fix

* trigger ci

* trigger ci

* trigger ci

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Extend Chatbot Message Format (#12051)

* Fix

* Chatbot fixes

* lint

* Fix

* Fix

* E2e test

* Add back feedback_value

* Fix

* Fix unit test

* add changeset

* Fix

* Fix unit tests

* Fix

* Fix tests

* WIP

* Fix

* Fix load_chat

* Fix guides

* Fix guides + Chat History

* Trigger ci

* Fix

* Fix stories

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Allow setting x limits independently in native plots (#12096)

* xlim independently

* add changeset

* fix

* changes

* changes

* Changes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* chore: update versions (dev) (#12068)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Typo change. (#12107)

* Fix issue with boolean columns in dataframe (#12110)

* changes

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fixes for long legends in native plots (#12100)

* changes

* add changeset

* changes

* add changeset

* add changeset

* tweaks

* changes

* add changeset

* changes

* changes

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Upgrade version of `safehttpx` in `gradio` and use subdomain wildcards (#12117)

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Collapse reasoning traces automatically if developer sets reasoning_tags parameter (#12070)

* Fix

* Chatbot fixes

* lint

* Fix

* Fix

* E2e test

* Add back feedback_value

* Fix

* Fix unit test

* add changeset

* Fix

* Fix

* add changeset

* Allow setting x limits independently in native plots (#12096)

* xlim independently

* add changeset

* fix

* changes

* changes

* Changes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix

* trigger ci

* trigger ci

* Fix

* Collapse thinking

* Fix

* empty

* empty

* Fix

* notebook

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix chatinterface textbox warning (#12080)

* Add warning for conflicting ChatInterface textbox parameters

* Fix warning logic and tests for conflicting ChatInterface textbox parameters

* add changeset

* Address review feedback: move test and remove comments

* make the warning example in English

* format

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Improve gr.MultimodalTextbox in mobile (#12088)

* improve mm textbox styling for mobile responsiveness

* more stying

* clean up

* update send button

* add changeset

* fix

* fix

* tweak

* lint

* add changeset

* clean up

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Improve gr.Toast in mobile (#12099)

* * tweak toast styling
* add swipe to dismiss

* add changeset

* tweak

* light mode redesign

* add changeset

* tweak

* tweak spacing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix transpose of square polars Dataframes. (#12164)

* Fix huggingface-hub issue in lite  (#12162)

* load from new wheel

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix transpose of square polars Dataframes.

---------

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: Anton Vattay <3martini@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* gr.HTML "custom components" (#12098)

* changes

* add changeset

* changes

* changes

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* chagnes

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* fix hello blocks

* Fixed several hardcoded UI labels in the chat_interface that did not implement i18n. (#12240)

* Implemented i18n for hardcoded chat_interface labels

* add changeset

---------

Co-authored-by: arterm-sedov <artem.sedov@comindware.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Feature/prettify error oversized files (#12085)

* feat: Added filesize util. Prettified filesize error

* add vitest tests

* move fallback to param default

* Update client/js/src/utils/filesize.ts

* changes

---------

Co-authored-by: Abubakar Abid <islamrealm@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* add requests (#12249)

* New cache key for `6.0-dev` branch (#12217)

* Improve behaviour of gr.Checkbox  (#12198)

* improve behaviour of checkbox and add stories

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Update ZeroGPU guide to reflect best practices on manually passing an IP token (#12205)

* changes

* change

* add changeset

* Fix reload test

* Update js/_website/src/lib/templates/python-client/gradio_client/03_using-zero-gpu-spaces.svx

Co-authored-by: hysts <hysts@users.noreply.github.com>

* Update js/_website/src/lib/templates/python-client/gradio_client/03_using-zero-gpu-spaces.svx

Co-authored-by: hysts <hysts@users.noreply.github.com>

* changes

* changes

* add changeset

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: hysts <hysts@users.noreply.github.com>

* fix: Add WebP MIME type support for image file validation (#12206)

* fix: Add explicit WebP MIME type support for image file validation

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Move `theme`, `css`, `css_paths`, `js`, `head`, `head_paths` to `launch()` (#12151)

* move params

* moving params

* add changeset

* Fixed some demos

* fix utils

* fix demo

* fixes

* remove log

* small fixes

* fixes

* test fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* new cache

* Fix

* Notebook

* test fixes

* test fixes

* more test fixes

* test action

* revert action

---------

Co-authored-by: Hannah <hannahblair@users.noreply.github.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: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: hysts <hysts@users.noreply.github.com>
Co-authored-by: devasadhu <devasadhu10@gmail.com>

* [Client] Fix ZeroGPU headers forwarding (#12243)

* [Client] Fix ZeroGPU headers forwarding

* add changeset

* changes

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* 🌙 Add dark mode to gradio docs  (#12106)

* dark mode docs!!!

* add changeset

* change footer

* add changeset

* cleanup

* format

* add matchmedia fallback

* clean up

* tweak

* tweak search modal in dark mode

* more dark mode fixes

* format

* add changeset

* Update navbar design in website docs (#12152)

* update desktop nav bar

* format

* light mode dropdown

* dark target fix

* tweak

* tweak

* fix

* format

* update pnpm

* test

* revert

* fix demos on landing page

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Change gr.Toast expanded to true by default (#12291)

* change expanded to true

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix reload mode tests (#12295)

* Fix reload mode tests

* add changeset

* Fix blocks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix

* Copy as markdown button in API docs  (#12168)

* changes

* changes

* changes

* refactor

* formatting

* cleanup

* add changeset

* fix bug with unnamed non public endpoints

* uniform copy buttons, and checkmark

* switch to lang specific copy buttons

* convert button to dropdown

* add open in huggingchat

* format and lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Allow serving Gradio MCP apps as ChatGPT apps as well (#12268)

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Svelte5 migration (#12114)

* changes

* fix things

* changes

* change

* change

* clean

* Upgrade ColorPicker to Svelte5 (#12115)

* Fix

* fix

---------

Co-authored-by: pngwn <hello@pngwn.io>

* Upgrade Checkbox, CheckboxGroup, Markdown to Svelte 5 (#12116)

* fix

* fix

* Remove comment

* Migrate Dropdown to svelte5 (#12119)

* Fix

* Fix

* Fix

* Fix (#12122)

* migrate slider (#12123)

* Fix (#12125)

* Fix Code Component (#12126)

* Migrate Radio component to Svelte 5 (#12130)

* Upgrade File To Svelte 5 (#12131)

* Upgrade File Component To Svelte 5

* Fix dropdown radio change events

* Fix change events

* migrate image (#12133)

* Fix video (#12134)

* Migrate Gallery (#12135)

* rename (#12136)

* Migrate DateTime (#12137)

* Migrate DownloadButton (#12138)

* Migrate HighlightedText (#12139)

* Migrate Json Component (#12140)

* Migrate Json Component

* Remove inspect

* migrate number component (#12141)

* Migrate UploadButton (#12142)

* Migrate Model3D (#12143)

* Migrate Timer (#12145)

* Migreate Timer

* remove console.log

* Migrate FileExplorer (#12146)

* ParamViewer (#12147)

* Migrate ImageSlider (#12148)

* Migrate NavBar and SideBar (#12149)

* SimpleComponents (#12150)

* Migrate Draggable (#12154)

* Draggable

* Add types

* Add code (#12155)

* Fix css variables (#12161)

* Misc fixes (#12165)

* fix things (#12166)

* Try to fix

* format + merge 6.0 dev branch

* add changeset

* Fix

* Fix

* Fix

* Fix

* Fix build for now

* fix docstring

* here we go again 😮‍💨

* Fix tests

* Fix

* V5 rerender (#12170)

* almost

* fix

* fix

* more fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix i18n in Svelte 5 Branch (#12177)

* Support i18n in svelte 5 branch

* Fix i18n

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix (#12179)

* Fix success failure event triggers  (#12180)

* Fix

* Fix sucess failure triggers

* Fix

* Fix radio change/input events (#12182)

* Fix Chatbot Editing (#12183)

* fix spa build (#12186)

* fix loading statuses (#12185)

* Fix chatbot multimodal (#12187)

* Fixing

* Add code

* Fix JSON Component (#12188)

* Fix gallery clear event (#12189)

* Fix Gallery Clear Event

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix image component events (#12190)

* Fix Gallery Clear Event

* Fix Image Component Events

* Fix example loading (#12192)

* Fix

* Fix

* Fix Example Label (#12193)

* Add back app footer + Dispatch load events (#12181)

* Fix

* Fix

* add changeset

* fix load events/ state settling

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>

* fix moast toasts (#12195)

* fix

* fix

* Formatting svelte 5 branch (#12197)

* Fix loading status for SPA (#12196)

* Fix Loading status

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Trigger ID (#12199)

* .then events were being triggered twice (#12207)

* Fix Image Updates (#12208)

* Fix Weird Issues With SPA (#12209)

* Fix Weird Issues With SPA

* Fix devDependencies

* Fix

* Fix chatbot streaming (#12211)

* Fix Weird Issues With SPA

* Fix devDependencies

* Fix

* Fix MultimodalImage props

* quick fix (#12210)

* Fix Thought in Chatbot for Svelte 5 (#12231)

* Fix Gallery + Video test (#12235)

* Fix Video input output in svelte 5 (#12236)

* Fix Video Payload

* Fix

* audio fix (#12204)

* Fix ChatInterface Rapid Generation (#12232)

* Fix Code (#12233)

* Fix website build in svelte5  (#12241)

* pin to different commit

* just pass version

* pin action version to 10.17.0

* Fix button issue in gr.MultimodalTextbox (#12200)

* change button to div

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Toast Content checking (#12242)

* S5 streaming (#12244)

* pending inputs (#12252)

* change

* sd

* fix

* Fix clear button loading status (#12259)

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Loading Status Fixes: Validation Errors + Making Errors Clearable (#12261)

* Make error status clickable

* add changeset

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Chatbot Model3d loading (#12266)

* Fix (#12269)

* Fix (#12270)

* Fix render tests (#12271)

* WIP

* Fix Render

* remove console.log

* Fix Render Merge test

* Lint

* Fix Tabs (#12272)

* Fix code (#12273)

* Small video tweak (#12274)

* Fix API Recorder (#12277)

* Fix accordion svelte 5 (#12279)

* Fix API Recorder

* Fix Accordion Svelte 5

* Fix ImageEditor Svelte 5 (#12278)

* .

* Format

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix DeepLink in Svelte5 (#12281)

* Fix DeepLink

* Fix Loading States

* Add code

* Audio Debugger

* Fix file explorer test svelte 5 (#12282)

* Fix FileExplorer e2e test

* Fix DeepLink in Svelte5 (#12281)

* Fix DeepLink

* Fix Loading States

* Add code

* Audio Debugger

* Fixes to visibility in svelte 5 (#12283)

* Push

* Fix

* Add comment explaining test

* Fix TodoList e2e test (#12287)

* Async rendering fix

* MountComponents

* Fix theme builder (#12292)

* Async rendering fix

* MountComponents

* Ugly WIP

* Revert

* Revert

* Fix theme builder

* remove logs

* Fix

* Fix lint

* changes (#12288)

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix theme builder

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Preload examples by default if input components don't already have a developer-provided `value` (#12294)

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* remove other changesets from svelte 5 branch

* Changeset V5 (#12298)

* Fix

* Let's see if this works (#12300)

* chore: update versions (dev) (#12111)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix node

* Fix

* Fix

* Fix error toast type definition for exception handling (#12302)

* handle value errors

* error type fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix python unit tests (#12303)

* Fix python unit tests

* add changeset

* Fix

* delete changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Dropdown filtered indices bug (#12304)

* Fix

* add changeset

* Fix label issue

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix textbox updates (#12306)

* Fix

* add changeset

* Fix label issue

* Fix code

* add changeset

* Remove changeset

* add changeset

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Add back default values for labels (#12305)

* Fix

* add changeset

* Fix label issue

* Add back default labels

* add changeset

* Format

* Fix default value for number

* add changeset

* Add back default labels

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix bug where Textbox change/input events triggers automatically when component mounts (#12317)

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Dropdown filtered_indices_problem for real (#12316)

* Fix tests

* add changeset

* Try again

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix website to work with svelte 5  (#12318)

* working

* use tailwind 3 instead

* changes

* formatting

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* proxy fix

* S5 df take3 (#12321)

* fix

* fix

* add changeset

* Fix

* Add code

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Migrate non-native plots to svelte 5 (#12307)

* changes

* add changeset

* change

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Migrate gr.HTML to svelte 5 (#12315)

* 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 Publish action (#12323)

* Fix (#12301)

* Fix Publish action

* Trigger creation of dev release pr (#12324)

* Trigger dev release pr

* This is the version

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Improving performance of queue, especially for MCP (#12296)

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes'

* changes

* changes

* changes

* changes

* changes

* revert changes to demo

* changes

* changes

* changes

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix changesets? (#12326)

* Fix

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Quick fix: js client test fix (#12319)

* test fix

* workflow

* Remove lite across website and use embedded spaces  (#12325)

* changes

* formatting

* add changeset

* remove

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* changesets (#12329)

* Change `gr.Dataframe` component constructor parameters (#12330)

* Redesign Dataframe API: Replace tuple-based row_count/col_count with explicit limits

- Replace row_count: tuple[int, str] with row_count: int and row_limits: tuple[int | None, int | None]
- Replace col_count: tuple[int, str] with column_count: int and column_limits: tuple[int | None, int | None]
- Simplifies API by separating initial count from min/max constraints
- Removes awkward 'fixed'/'dynamic' string parameters
- Allows independent control of initial size and limits

* add changeset

* add changeset

* changes

* changes

* changes

* changes

* add changeset

* Update demos and tests to use new Dataframe API

- Replace col_count with column_count and column_limits
- Replace row_count tuples with row_count and row_limits
- Update all demos: blocks_outputs, filter_records, matrix_transpose, sort_records, dataframe_colorful
- Fix gradio/external.py Dataframe instantiation
- Update test_dataframe.py to test new API parameters

* changes

* clean

* changes

* changes

* nb

* changes

* changes

* fix"
tmeplates

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Undo in Audio component (#12327)

* audio fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Use beefier runners for e2e tests (#12332)

* Use beefier runners

* Fix

* trigger ci

* LFG

* Be able to update visibility programmatically  (#12320)

* Fix?

* add changeset

* Fix code

* Fix

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* chore: update versions (dev) (#12331)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Fix statustracker for generating outputs (#12337)

* Fix number status

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* clean up some console logs (#12336)

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix dropdown filtering (#12344)

* fix audio_subtitle demo

* demo tweaks

* clean

* Fix json postprocessing with queue=False (#12343)

* Fix status

* add changeset

* Fix queue false

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* fix colopicker (#12360)

* fix colopicker

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix input (#12359)

* fix input

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix various event issues (#12357)

* fix slider

* fix code

* fix code

* fix dataframe events

* fix checkbox group

* clean

* add changeset

* Fix build

* Fix color picker

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* chore: update versions (dev) (#12342)

* Fix status tracker iterative image (#12358)

* Fix dropdown filtering

* Fix

* add changeset

* Fix issue finally for real

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Chatbot autoscroll (#12372)

* fix chatbot scroll

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Ensure `show_error` is always respected (#12374)

* Fix queue false render issue (#12363)

* Fix render with queue=false issue

* Add file

* add changeset

* Fix test

* Fix tests

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix audio errors when streaming (#12373)

* Fix Walkthrough component (#12371)

* fix walkthrough

* clean

* clean

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix progress in StatusTracker (#12370)

* fix progress component

* format

* add changeset

* Update js/statustracker/static/index.svelte

Co-authored-by: aliabid94 <aabid94@gmail.com>

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>

* Fix some e2e tests (#12378)

* Fix

* Fix code

* add changeset

* Revert

* Fix tests

* Fix

* add changeset

* Fix

* timeout

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Spaces hot reloading (#11821)

* jurigged hot-reload

* Continue

* More conventional TypeVar naming

* add changeset

* Fix Watcher creation

* Auto demo name

* Make auto-demo name overridable

* Single-file jurigged server reloader

* Not needed

* ruff check --fix

* ruff format

* Spaces reloading

* add changeset

* Add requests package to requirements

* Ruff

* Fix some ty errors

* noqa: I001

* Ruff

* Fix

* Remove requests from requirements.txt

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix font (#12375)

* fix font

* add changeset

* tweaks

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix Reload Mode in 6.0 (#12383)

* Fix but ugly

* add changeset

* Remove console.log

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix cache keys (#12388)

* Improve audio player UI in gr.Chatbot (#12102)

* update wavesurfer

* Add minimal audio player to audio component

* Add minimal audio player to audio component

* add changeset

* update button panel

* tweak

* format

* Merge remote-tracking branch 'origin/6.0-dev' into minimal-audio-player

* spacing

* fix button position on other components in the chatbot

* add changeset

* fix tests

* fix test

* fix test

* fix test

* fix liked test

* format

* test tweak

* add await

* test id fix

* tweak

* label fix

* test fix

* test tweak

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix custom css e2e test in SSR (#12390)

* Fix test

* Fix test

* Tweak

* merge

* Fix pkg (#12395)

* fix pkg + publish

* fix pkg + publish

* Reduce files in build (#12391)

* Reduce files in build

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Download frontend templates for custom components (#12389)

* empty

* Change token

* Fix code

* Fix

* add changeset

* Fix

* Remove version pin

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* multimodal textbox recorder

* fix custom components (#12397)

* fix

* clean

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Revert "multimodal textbox recorder"

This reverts commit c3eeadc36c.

* fix publish (#12398)

* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix full width toast issue (#12381)

* Fix toast full width issue

* add changeset

* Fix

* Fix

* fix broken media query

* multimodal textbox recorder

* fix custom components (#12397)

* fix

* clean

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: hannahblair <hannahblair@hotmail.co.uk>
Co-authored-by: pngwn <hello@pngwn.io>

* Fix publish take seven hundred and forty two (#12400)

* fix

* fix

* fix

* fix lockfile

* Remove SSE transport from MCP docs (#12393)

* changes

* changes

* changes

* add changeset

* Update guides/10_mcp/01_building-mcp-server-with-gradio.md

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* chore: update versions (dev) (#12369)

* fix ci

* fix gradio/preview provenance

* Pass component props as input (#12267)

* changes

* add changeset

* changes

* changes

* tweak demo

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update gradio/blocks.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/blocks.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/routes.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* changes

---------

Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Add minimal recording UI to gr.MultimodalTextbox (#12399)

* multimodal textbox recorder

* add changeset

* improve styling

* revert css tweaks

* make icon styling consistent

* file fix

* handle errors

* mobile input width

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Add default gradio style to custom html in spa mode (#12411)

* chanbges

* add changeset

* changes

* Fix CI

* Fix unit tests

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix: Using root instead of mcp_server_url for file upload config docs (#12412)

* fix: Using root instead of mcp_server_url for file upload config docs

* add changeset

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* fix

* fix things

* clean

* add changeset

* Fix show_progress not being respected (#12410)

* Fix code

* add changeset

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix browser component tests (#12409)

* Fix browser component tests

* add changeset

* Fix reload mode tests

* add changeset

* Fix

* Fix

* Fix tabs

* Fix

* add changeset

* Fix

* Fix race condition

* Fix

* Skip troll tabs test

* Skip tabs:

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix vibe editor on 6.0 (#12408)

* fix console error in dependency.ts

* load vibe editor correctly

* add changeset

* switch to onmount

* lint + fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Enhancements to DX/Docs for Custom HTML components (#12403)

* changes

* add changeset

* changes

* changes

* changes

* add changeset

* changes

* changes

* format

* changes

* changes

* revert

* revert

* revert

* add changeset

* plc

* revert

* changes

* changes"

* changes

* changes

* fix

* fix test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix

* fix

* clean

* clean gh

* clean changelogs

* clean pkg jsons

* clean

* clean

* fix

* fix

* fix

* clean

* add changeset

* fix changeset

* fix changeset

* format

* clean

* format

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: Regina Reynolds <regina.c.reynolds@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: PRIME-SV <68094813+PRIME-SV@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.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>
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
Co-authored-by: meg <90473723+meg-huggingface@users.noreply.github.com>
Co-authored-by: Saleh Sargolzaei <68460816+salehsargolzaee@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: vedo-avattay <avattay@vedocorp.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Anton Vattay <3martini@gmail.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: arterm-sedov <66188814+arterm-sedov@users.noreply.github.com>
Co-authored-by: arterm-sedov <artem.sedov@comindware.com>
Co-authored-by: brianvandenbersselaar <brian.vandenbersselaar@asnbank.nl>
Co-authored-by: Abubakar Abid <islamrealm@gmail.com>
Co-authored-by: hysts <hysts@users.noreply.github.com>
Co-authored-by: devasadhu <devasadhu10@gmail.com>
Co-authored-by: Charles <charles@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: hannahblair <hannahblair@hotmail.co.uk>
Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co>
2025-11-25 23:24:35 +07:00
pngwn dce4714914 I am changesets (#12439)
* bump all

* version everything
2025-11-21 23:39:40 +07:00
Freddy Boulton 029034f785 [No Merge] Gradio 6.0 (#11908)
* Add code

* Fix

* version numbers

* Remove `crop_size` parameter from `ImageEditor` component (#12007)

* Remove crop_size parameter from ImageEditor __init__ function and docstring description

* Remove conversion code and deprecation warning message

* Fix docstring typo

* Remove deprecated ImageEditor crop_size references from demo files

* Remove crop_size parameters and variable assignments in super().__init__() calls for Sketchpad, Paint, and ImageMask classes that inherit from ImageEditor

* Regenerated notebook files

---------

Co-authored-by: pngwn <hello@pngwn.io>

* add changeset

* Fix (#12014)

* Remove tuples format from the chatbot (#12012)

* First draft

* Fix tests

* add changeset

* format

* Fix reload test

* Fix chatbot unit tests

* lint

* lint2

* Python unit tests

* Fix code

* Fix notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* fix: enable padding by default in Markdown component (#12010)

* fix: enable padding by default in Markdown component

* add changeset

* add changeset

* Fix: set the padding to false for both HTML and Markup

* Enable padding by default in HTML component

* fix: Fixed failing unit test and a docstring

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Make allow_tags=True the default in gr.Chatbot (#12027)

* Set allow tags to true by default.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Remove all parameters with deprecation warnings (#12047)

* Fix

* Fix

* Fix

* lint

* Fix

* Remove max_length and min_length from gr.Audio and gr.Video (#12043)

* Audio

* Fix

* Video

* Fix

* Docs

* Fix tests

* Fix

* Fix

* Fix typos

* Add a single `buttons` parameter to components instead of the various `show_xxxxxxx_button` parameters (#12042)

* change buttons

* docstring

* changes

* changes

* notebooks

* changes

* changes

* fix tests

* fix lint

* changes

* changes

* fix json test

* story

* format

* Rename hf token to token (#12048)

* Rename hf_token -> token

* remove

* Do client

* remaining files

* Guides

* Fix

* empty

* Video subtitles (#12041)

* subtitles

* add video subtitles and allow json subs

* add changeset

* format

* notebook

* remove

* remove test files

* notebook fix

* merge fix

* remove unused prop

* type fix

* test fix

* test fixes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix

* remaining fixes

* Fix rapid generation

* Remove Websockets (#11996)

* remove ws

* Fix:

* remove

* remove ws

* Format

* Bump client versions for release (#12059)

* Fix

* Fix

* fix (#12061)

* chore: update versions (dev) (#11909)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Handle special characters in native plot column names (#12064)

* changes

* add changeset

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Remove more deprecated parameters for the native plot components (#12063)

* more depr

* add changeset

* changes

* add changeset

* fix demos

* fix demos

* serial test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Gallery: Allow empty columns when items < columns (#12066)

* Allow empty columns when items < columns

* Fix

* add changeset

* fix button mistake

* Add story

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Rename show_api (#12069)

* commit

* rename

* add changeset

* Change dependency versions to major

Updated dependency versions from minor to major for several packages.

* Fix test

* Rename

* empty

* Fix

* reformat

* empty

* Fix

* Empty

* Fix

* Fix

* Comments

* trigger

* Update demo/mcp_tools/run.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Use function name as the api route name in gr.Interface and gr.ChatInterface (#12086)

* Fix

* add changeset

* fix

* trigger ci

* trigger ci

* trigger ci

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Extend Chatbot Message Format (#12051)

* Fix

* Chatbot fixes

* lint

* Fix

* Fix

* E2e test

* Add back feedback_value

* Fix

* Fix unit test

* add changeset

* Fix

* Fix unit tests

* Fix

* Fix tests

* WIP

* Fix

* Fix load_chat

* Fix guides

* Fix guides + Chat History

* Trigger ci

* Fix

* Fix stories

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Allow setting x limits independently in native plots (#12096)

* xlim independently

* add changeset

* fix

* changes

* changes

* Changes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* chore: update versions (dev) (#12068)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Typo change. (#12107)

* Fix issue with boolean columns in dataframe (#12110)

* changes

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fixes for long legends in native plots (#12100)

* changes

* add changeset

* changes

* add changeset

* add changeset

* tweaks

* changes

* add changeset

* changes

* changes

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Upgrade version of `safehttpx` in `gradio` and use subdomain wildcards (#12117)

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Collapse reasoning traces automatically if developer sets reasoning_tags parameter (#12070)

* Fix

* Chatbot fixes

* lint

* Fix

* Fix

* E2e test

* Add back feedback_value

* Fix

* Fix unit test

* add changeset

* Fix

* Fix

* add changeset

* Allow setting x limits independently in native plots (#12096)

* xlim independently

* add changeset

* fix

* changes

* changes

* Changes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix

* trigger ci

* trigger ci

* Fix

* Collapse thinking

* Fix

* empty

* empty

* Fix

* notebook

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix chatinterface textbox warning (#12080)

* Add warning for conflicting ChatInterface textbox parameters

* Fix warning logic and tests for conflicting ChatInterface textbox parameters

* add changeset

* Address review feedback: move test and remove comments

* make the warning example in English

* format

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Improve gr.MultimodalTextbox in mobile (#12088)

* improve mm textbox styling for mobile responsiveness

* more stying

* clean up

* update send button

* add changeset

* fix

* fix

* tweak

* lint

* add changeset

* clean up

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Improve gr.Toast in mobile (#12099)

* * tweak toast styling
* add swipe to dismiss

* add changeset

* tweak

* light mode redesign

* add changeset

* tweak

* tweak spacing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix transpose of square polars Dataframes. (#12164)

* Fix huggingface-hub issue in lite  (#12162)

* load from new wheel

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix transpose of square polars Dataframes.

---------

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: Anton Vattay <3martini@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* gr.HTML "custom components" (#12098)

* changes

* add changeset

* changes

* changes

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* chagnes

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* fix hello blocks

* Fixed several hardcoded UI labels in the chat_interface that did not implement i18n. (#12240)

* Implemented i18n for hardcoded chat_interface labels

* add changeset

---------

Co-authored-by: arterm-sedov <artem.sedov@comindware.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Feature/prettify error oversized files (#12085)

* feat: Added filesize util. Prettified filesize error

* add vitest tests

* move fallback to param default

* Update client/js/src/utils/filesize.ts

* changes

---------

Co-authored-by: Abubakar Abid <islamrealm@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* add requests (#12249)

* New cache key for `6.0-dev` branch (#12217)

* Improve behaviour of gr.Checkbox  (#12198)

* improve behaviour of checkbox and add stories

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Update ZeroGPU guide to reflect best practices on manually passing an IP token (#12205)

* changes

* change

* add changeset

* Fix reload test

* Update js/_website/src/lib/templates/python-client/gradio_client/03_using-zero-gpu-spaces.svx

Co-authored-by: hysts <hysts@users.noreply.github.com>

* Update js/_website/src/lib/templates/python-client/gradio_client/03_using-zero-gpu-spaces.svx

Co-authored-by: hysts <hysts@users.noreply.github.com>

* changes

* changes

* add changeset

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: hysts <hysts@users.noreply.github.com>

* fix: Add WebP MIME type support for image file validation (#12206)

* fix: Add explicit WebP MIME type support for image file validation

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Move `theme`, `css`, `css_paths`, `js`, `head`, `head_paths` to `launch()` (#12151)

* move params

* moving params

* add changeset

* Fixed some demos

* fix utils

* fix demo

* fixes

* remove log

* small fixes

* fixes

* test fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* new cache

* Fix

* Notebook

* test fixes

* test fixes

* more test fixes

* test action

* revert action

---------

Co-authored-by: Hannah <hannahblair@users.noreply.github.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: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: hysts <hysts@users.noreply.github.com>
Co-authored-by: devasadhu <devasadhu10@gmail.com>

* [Client] Fix ZeroGPU headers forwarding (#12243)

* [Client] Fix ZeroGPU headers forwarding

* add changeset

* changes

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* 🌙 Add dark mode to gradio docs  (#12106)

* dark mode docs!!!

* add changeset

* change footer

* add changeset

* cleanup

* format

* add matchmedia fallback

* clean up

* tweak

* tweak search modal in dark mode

* more dark mode fixes

* format

* add changeset

* Update navbar design in website docs (#12152)

* update desktop nav bar

* format

* light mode dropdown

* dark target fix

* tweak

* tweak

* fix

* format

* update pnpm

* test

* revert

* fix demos on landing page

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Change gr.Toast expanded to true by default (#12291)

* change expanded to true

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix reload mode tests (#12295)

* Fix reload mode tests

* add changeset

* Fix blocks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix

* Copy as markdown button in API docs  (#12168)

* changes

* changes

* changes

* refactor

* formatting

* cleanup

* add changeset

* fix bug with unnamed non public endpoints

* uniform copy buttons, and checkmark

* switch to lang specific copy buttons

* convert button to dropdown

* add open in huggingchat

* format and lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Allow serving Gradio MCP apps as ChatGPT apps as well (#12268)

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Svelte5 migration (#12114)

* changes

* fix things

* changes

* change

* change

* clean

* Upgrade ColorPicker to Svelte5 (#12115)

* Fix

* fix

---------

Co-authored-by: pngwn <hello@pngwn.io>

* Upgrade Checkbox, CheckboxGroup, Markdown to Svelte 5 (#12116)

* fix

* fix

* Remove comment

* Migrate Dropdown to svelte5 (#12119)

* Fix

* Fix

* Fix

* Fix (#12122)

* migrate slider (#12123)

* Fix (#12125)

* Fix Code Component (#12126)

* Migrate Radio component to Svelte 5 (#12130)

* Upgrade File To Svelte 5 (#12131)

* Upgrade File Component To Svelte 5

* Fix dropdown radio change events

* Fix change events

* migrate image (#12133)

* Fix video (#12134)

* Migrate Gallery (#12135)

* rename (#12136)

* Migrate DateTime (#12137)

* Migrate DownloadButton (#12138)

* Migrate HighlightedText (#12139)

* Migrate Json Component (#12140)

* Migrate Json Component

* Remove inspect

* migrate number component (#12141)

* Migrate UploadButton (#12142)

* Migrate Model3D (#12143)

* Migrate Timer (#12145)

* Migreate Timer

* remove console.log

* Migrate FileExplorer (#12146)

* ParamViewer (#12147)

* Migrate ImageSlider (#12148)

* Migrate NavBar and SideBar (#12149)

* SimpleComponents (#12150)

* Migrate Draggable (#12154)

* Draggable

* Add types

* Add code (#12155)

* Fix css variables (#12161)

* Misc fixes (#12165)

* fix things (#12166)

* Try to fix

* format + merge 6.0 dev branch

* add changeset

* Fix

* Fix

* Fix

* Fix

* Fix build for now

* fix docstring

* here we go again 😮‍💨

* Fix tests

* Fix

* V5 rerender (#12170)

* almost

* fix

* fix

* more fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix i18n in Svelte 5 Branch (#12177)

* Support i18n in svelte 5 branch

* Fix i18n

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix (#12179)

* Fix success failure event triggers  (#12180)

* Fix

* Fix sucess failure triggers

* Fix

* Fix radio change/input events (#12182)

* Fix Chatbot Editing (#12183)

* fix spa build (#12186)

* fix loading statuses (#12185)

* Fix chatbot multimodal (#12187)

* Fixing

* Add code

* Fix JSON Component (#12188)

* Fix gallery clear event (#12189)

* Fix Gallery Clear Event

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix image component events (#12190)

* Fix Gallery Clear Event

* Fix Image Component Events

* Fix example loading (#12192)

* Fix

* Fix

* Fix Example Label (#12193)

* Add back app footer + Dispatch load events (#12181)

* Fix

* Fix

* add changeset

* fix load events/ state settling

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>

* fix moast toasts (#12195)

* fix

* fix

* Formatting svelte 5 branch (#12197)

* Fix loading status for SPA (#12196)

* Fix Loading status

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Trigger ID (#12199)

* .then events were being triggered twice (#12207)

* Fix Image Updates (#12208)

* Fix Weird Issues With SPA (#12209)

* Fix Weird Issues With SPA

* Fix devDependencies

* Fix

* Fix chatbot streaming (#12211)

* Fix Weird Issues With SPA

* Fix devDependencies

* Fix

* Fix MultimodalImage props

* quick fix (#12210)

* Fix Thought in Chatbot for Svelte 5 (#12231)

* Fix Gallery + Video test (#12235)

* Fix Video input output in svelte 5 (#12236)

* Fix Video Payload

* Fix

* audio fix (#12204)

* Fix ChatInterface Rapid Generation (#12232)

* Fix Code (#12233)

* Fix website build in svelte5  (#12241)

* pin to different commit

* just pass version

* pin action version to 10.17.0

* Fix button issue in gr.MultimodalTextbox (#12200)

* change button to div

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Toast Content checking (#12242)

* S5 streaming (#12244)

* pending inputs (#12252)

* change

* sd

* fix

* Fix clear button loading status (#12259)

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Loading Status Fixes: Validation Errors + Making Errors Clearable (#12261)

* Make error status clickable

* add changeset

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Chatbot Model3d loading (#12266)

* Fix (#12269)

* Fix (#12270)

* Fix render tests (#12271)

* WIP

* Fix Render

* remove console.log

* Fix Render Merge test

* Lint

* Fix Tabs (#12272)

* Fix code (#12273)

* Small video tweak (#12274)

* Fix API Recorder (#12277)

* Fix accordion svelte 5 (#12279)

* Fix API Recorder

* Fix Accordion Svelte 5

* Fix ImageEditor Svelte 5 (#12278)

* .

* Format

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix DeepLink in Svelte5 (#12281)

* Fix DeepLink

* Fix Loading States

* Add code

* Audio Debugger

* Fix file explorer test svelte 5 (#12282)

* Fix FileExplorer e2e test

* Fix DeepLink in Svelte5 (#12281)

* Fix DeepLink

* Fix Loading States

* Add code

* Audio Debugger

* Fixes to visibility in svelte 5 (#12283)

* Push

* Fix

* Add comment explaining test

* Fix TodoList e2e test (#12287)

* Async rendering fix

* MountComponents

* Fix theme builder (#12292)

* Async rendering fix

* MountComponents

* Ugly WIP

* Revert

* Revert

* Fix theme builder

* remove logs

* Fix

* Fix lint

* changes (#12288)

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix theme builder

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Preload examples by default if input components don't already have a developer-provided `value` (#12294)

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* remove other changesets from svelte 5 branch

* Changeset V5 (#12298)

* Fix

* Let's see if this works (#12300)

* chore: update versions (dev) (#12111)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix node

* Fix

* Fix

* Fix error toast type definition for exception handling (#12302)

* handle value errors

* error type fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix python unit tests (#12303)

* Fix python unit tests

* add changeset

* Fix

* delete changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Dropdown filtered indices bug (#12304)

* Fix

* add changeset

* Fix label issue

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix textbox updates (#12306)

* Fix

* add changeset

* Fix label issue

* Fix code

* add changeset

* Remove changeset

* add changeset

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Add back default values for labels (#12305)

* Fix

* add changeset

* Fix label issue

* Add back default labels

* add changeset

* Format

* Fix default value for number

* add changeset

* Add back default labels

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix bug where Textbox change/input events triggers automatically when component mounts (#12317)

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Dropdown filtered_indices_problem for real (#12316)

* Fix tests

* add changeset

* Try again

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix website to work with svelte 5  (#12318)

* working

* use tailwind 3 instead

* changes

* formatting

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* proxy fix

* S5 df take3 (#12321)

* fix

* fix

* add changeset

* Fix

* Add code

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Migrate non-native plots to svelte 5 (#12307)

* changes

* add changeset

* change

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Migrate gr.HTML to svelte 5 (#12315)

* 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 Publish action (#12323)

* Fix (#12301)

* Fix Publish action

* Trigger creation of dev release pr (#12324)

* Trigger dev release pr

* This is the version

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Improving performance of queue, especially for MCP (#12296)

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes'

* changes

* changes

* changes

* changes

* changes

* revert changes to demo

* changes

* changes

* changes

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix changesets? (#12326)

* Fix

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Quick fix: js client test fix (#12319)

* test fix

* workflow

* Remove lite across website and use embedded spaces  (#12325)

* changes

* formatting

* add changeset

* remove

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* changesets (#12329)

* Change `gr.Dataframe` component constructor parameters (#12330)

* Redesign Dataframe API: Replace tuple-based row_count/col_count with explicit limits

- Replace row_count: tuple[int, str] with row_count: int and row_limits: tuple[int | None, int | None]
- Replace col_count: tuple[int, str] with column_count: int and column_limits: tuple[int | None, int | None]
- Simplifies API by separating initial count from min/max constraints
- Removes awkward 'fixed'/'dynamic' string parameters
- Allows independent control of initial size and limits

* add changeset

* add changeset

* changes

* changes

* changes

* changes

* add changeset

* Update demos and tests to use new Dataframe API

- Replace col_count with column_count and column_limits
- Replace row_count tuples with row_count and row_limits
- Update all demos: blocks_outputs, filter_records, matrix_transpose, sort_records, dataframe_colorful
- Fix gradio/external.py Dataframe instantiation
- Update test_dataframe.py to test new API parameters

* changes

* clean

* changes

* changes

* nb

* changes

* changes

* fix"
tmeplates

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Undo in Audio component (#12327)

* audio fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Use beefier runners for e2e tests (#12332)

* Use beefier runners

* Fix

* trigger ci

* LFG

* Be able to update visibility programmatically  (#12320)

* Fix?

* add changeset

* Fix code

* Fix

* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* chore: update versions (dev) (#12331)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Fix statustracker for generating outputs (#12337)

* Fix number status

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* clean up some console logs (#12336)

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix dropdown filtering (#12344)

* fix audio_subtitle demo

* demo tweaks

* clean

* Fix json postprocessing with queue=False (#12343)

* Fix status

* add changeset

* Fix queue false

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* fix colopicker (#12360)

* fix colopicker

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix input (#12359)

* fix input

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix various event issues (#12357)

* fix slider

* fix code

* fix code

* fix dataframe events

* fix checkbox group

* clean

* add changeset

* Fix build

* Fix color picker

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* chore: update versions (dev) (#12342)

* Fix status tracker iterative image (#12358)

* Fix dropdown filtering

* Fix

* add changeset

* Fix issue finally for real

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix Chatbot autoscroll (#12372)

* fix chatbot scroll

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Ensure `show_error` is always respected (#12374)

* Fix queue false render issue (#12363)

* Fix render with queue=false issue

* Add file

* add changeset

* Fix test

* Fix tests

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix audio errors when streaming (#12373)

* Fix Walkthrough component (#12371)

* fix walkthrough

* clean

* clean

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix progress in StatusTracker (#12370)

* fix progress component

* format

* add changeset

* Update js/statustracker/static/index.svelte

Co-authored-by: aliabid94 <aabid94@gmail.com>

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>

* Fix some e2e tests (#12378)

* Fix

* Fix code

* add changeset

* Revert

* Fix tests

* Fix

* add changeset

* Fix

* timeout

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Spaces hot reloading (#11821)

* jurigged hot-reload

* Continue

* More conventional TypeVar naming

* add changeset

* Fix Watcher creation

* Auto demo name

* Make auto-demo name overridable

* Single-file jurigged server reloader

* Not needed

* ruff check --fix

* ruff format

* Spaces reloading

* add changeset

* Add requests package to requirements

* Ruff

* Fix some ty errors

* noqa: I001

* Ruff

* Fix

* Remove requests from requirements.txt

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix font (#12375)

* fix font

* add changeset

* tweaks

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix Reload Mode in 6.0 (#12383)

* Fix but ugly

* add changeset

* Remove console.log

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix cache keys (#12388)

* Improve audio player UI in gr.Chatbot (#12102)

* update wavesurfer

* Add minimal audio player to audio component

* Add minimal audio player to audio component

* add changeset

* update button panel

* tweak

* format

* Merge remote-tracking branch 'origin/6.0-dev' into minimal-audio-player

* spacing

* fix button position on other components in the chatbot

* add changeset

* fix tests

* fix test

* fix test

* fix test

* fix liked test

* format

* test tweak

* add await

* test id fix

* tweak

* label fix

* test fix

* test tweak

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix custom css e2e test in SSR (#12390)

* Fix test

* Fix test

* Tweak

* merge

* Fix pkg (#12395)

* fix pkg + publish

* fix pkg + publish

* Reduce files in build (#12391)

* Reduce files in build

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Download frontend templates for custom components (#12389)

* empty

* Change token

* Fix code

* Fix

* add changeset

* Fix

* Remove version pin

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* multimodal textbox recorder

* fix custom components (#12397)

* fix

* clean

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Revert "multimodal textbox recorder"

This reverts commit c3eeadc36c.

* fix publish (#12398)

* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix full width toast issue (#12381)

* Fix toast full width issue

* add changeset

* Fix

* Fix

* fix broken media query

* multimodal textbox recorder

* fix custom components (#12397)

* fix

* clean

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: hannahblair <hannahblair@hotmail.co.uk>
Co-authored-by: pngwn <hello@pngwn.io>

* Fix publish take seven hundred and forty two (#12400)

* fix

* fix

* fix

* fix lockfile

* Remove SSE transport from MCP docs (#12393)

* changes

* changes

* changes

* add changeset

* Update guides/10_mcp/01_building-mcp-server-with-gradio.md

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* chore: update versions (dev) (#12369)

* fix ci

* fix gradio/preview provenance

* Pass component props as input (#12267)

* changes

* add changeset

* changes

* changes

* tweak demo

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update gradio/blocks.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/blocks.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/routes.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* changes

---------

Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Add minimal recording UI to gr.MultimodalTextbox (#12399)

* multimodal textbox recorder

* add changeset

* improve styling

* revert css tweaks

* make icon styling consistent

* file fix

* handle errors

* mobile input width

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Add default gradio style to custom html in spa mode (#12411)

* chanbges

* add changeset

* changes

* Fix CI

* Fix unit tests

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix: Using root instead of mcp_server_url for file upload config docs (#12412)

* fix: Using root instead of mcp_server_url for file upload config docs

* add changeset

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix show_progress not being respected (#12410)

* Fix code

* add changeset

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix browser component tests (#12409)

* Fix browser component tests

* add changeset

* Fix reload mode tests

* add changeset

* Fix

* Fix

* Fix tabs

* Fix

* add changeset

* Fix

* Fix race condition

* Fix

* Skip troll tabs test

* Skip tabs:

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix vibe editor on 6.0 (#12408)

* fix console error in dependency.ts

* load vibe editor correctly

* add changeset

* switch to onmount

* lint + fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Enhancements to DX/Docs for Custom HTML components (#12403)

* changes

* add changeset

* changes

* changes

* changes

* add changeset

* changes

* changes

* format

* changes

* changes

* revert

* revert

* revert

* add changeset

* plc

* revert

* changes

* changes"

* changes

* changes

* fix

* fix test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Fix website with param viewer (#12413)

* fix import

* add changeset

* fix

* add changeset

* try

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* docs redesign: landing page and nav bar (#12414)

* fix build

* nav bar tweak

* add download logo menu

* add changeset

* navbar improvements

* remove brand link and comment out newsletter

* refactor

* refactor mini components

* format

* revert config

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Api docs bug fix and some enhancements to the page (#12419)

* changes

* changes

* add changeset

* changes

* changes

* changes

* add changeset

* changes

* api docs

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix some plot issues in 6.0 (#12420)

* changes

* add changeset

---------

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>

* remove_placeholder_type_here (#12423)

* remove_placeholder_type_here

* add changeset

---------

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>

* Fix website on 6.0 (#12425)

* add button to package

* add changeset

* fix mini component urls

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* add light mode styling to mini components (#12429)

* Add 6.0 migration guide to llms.txt (#12430)

* add migration guide

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix broken python client and third party docs (#12431)

* fix ondestroy

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix render status (#12421)

* Fix render status

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Deprecate sketch (#12422)

* changes

* add changeset

* lint

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Clear Error statuses (#12424)

* Clear statuses

* add changeset

* add changeset

* lint

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Unit test fixes (#12404)

* test fixes

* add changeset

* format

* Pass component props as input (#12267)

* changes

* add changeset

* changes

* changes

* tweak demo

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update gradio/blocks.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/blocks.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Update gradio/routes.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* changes

---------

Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Add minimal recording UI to gr.MultimodalTextbox (#12399)

* multimodal textbox recorder

* add changeset

* improve styling

* revert css tweaks

* make icon styling consistent

* file fix

* handle errors

* mobile input width

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* Add default gradio style to custom html in spa mode (#12411)

* chanbges

* add changeset

* changes

* Fix CI

* Fix unit tests

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>

* fix: Using root instead of mcp_server_url for file upload config docs (#12412)

* fix: Using root instead of mcp_server_url for file upload config docs

* add changeset

---------

Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix show_progress not being respected (#12410)

* Fix code

* add changeset

* notebook

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* Fix browser component tests (#12409)

* Fix browser component tests

* add changeset

* Fix reload mode tests

* add changeset

* Fix

* Fix

* Fix tabs

* Fix

* add changeset

* Fix

* Fix race condition

* Fix

* Skip troll tabs test

* Skip tabs:

* Fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* more fixes

* format

* workflow

* fix

* more test fixes

* multimodal test fix

* add changeset

* more test fixes

* gallery test fix

* add changeset

* format

* Fix workflow

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co>

* Improve llms txt, add few guides at the top and organize (#12433)

* rewrite

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Add copy to markdown buttons to the guides  (#12434)

* add copy to markdown buttons

* add changeset

* fix tips

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* docs redesign: docs and api pages (#12415)

* fix build

* nav bar tweak

* add download logo menu

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Redesign guides and docs navigation and styling

- Separate API documentation from Guides in navigation
- Create new /guides landing page with left sidebar navigation
- Redesign individual guide pages with clean sidebar
- Redesign tip boxes with dark orange theme and outline lightbulb icon
- Remove lightbulb from Details component
- Add orange accent to version dropdown
- Redirect /guides to /guides/quickstart
- Update docs page to show only API reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* add download logo menu

* add changeset

* navbar improvements

* remove brand link and comment out newsletter

* add changeset

* add mini component carousel

* refactor

* clean up

* rm top btns

* format

* tweak

* cleanup

* * fix header alignment
* fix related spaces pills

* copy tweak

* add bgs back to api components

* dark mode fixes

* fix paramviewer dark mode

* add borders to apis in dark mode

* colour tweak

* format

* fix

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Regina Reynolds <regina.c.reynolds@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: PRIME-SV <68094813+PRIME-SV@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.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>
Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
Co-authored-by: meg <90473723+meg-huggingface@users.noreply.github.com>
Co-authored-by: Saleh Sargolzaei <68460816+salehsargolzaee@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: vedo-avattay <avattay@vedocorp.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Anton Vattay <3martini@gmail.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: arterm-sedov <66188814+arterm-sedov@users.noreply.github.com>
Co-authored-by: arterm-sedov <artem.sedov@comindware.com>
Co-authored-by: brianvandenbersselaar <brian.vandenbersselaar@asnbank.nl>
Co-authored-by: Abubakar Abid <islamrealm@gmail.com>
Co-authored-by: hysts <hysts@users.noreply.github.com>
Co-authored-by: devasadhu <devasadhu10@gmail.com>
Co-authored-by: Charles <charles@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: hannahblair <hannahblair@hotmail.co.uk>
Co-authored-by: Paco Aranda <francisco.aranda@huggingface.co>
Co-authored-by: Claude <noreply@anthropic.com>
2025-11-21 10:57:22 -05:00
Abubakar Abid 568644a88c Add a 6.0 migration guide and add deprecation warnings (#12377)
* guide and warnings

* add changeset

* changes

* changes

* changes

* add changeset

* changes

* changes

* changes

* changes

* lint

* watermark

* reorg

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-11-17 16:57:56 -08:00
Freddy Boulton 1cd2ba2e0d Don't use huggingface-hub 1.0 in CI (#12132)
* Fix

* Fix

* Fix

* fix

* Fix

* fix
2025-10-29 13:47:21 +00:00
Hannah 2069fd2a43 Remove duplicate media files (#11989)
* delete home files

* delete unused media files and add media assets dir for demos

* update demos

* add changeset

* refactor media.py

* tweaks

* nb

* lint

* lint

* Update dependency versions and remove duplicates

Updated versioning for dependencies and removed duplicate media files.

* update tests

* nb

* fix test

* fix test

* fix tests

* tweak

* fix test

* update demos

* more deletions

* format

* nb

* lint

* fix tests

* tweak demos

* nb

* clean up

* lint

* fix test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-10-01 20:24:30 -04:00
Gradio PR Bot 43b567db95 chore: update versions (#11978)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-26 19:37:32 +00:00
Lucain 50a89f0792 Allow gradio to run with huggingface_hub 1.x (#11979)
* Allow gradio to run with huggingface_hub 1.x

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-09-26 10:32:34 +00:00
Gradio PR Bot c77e116e78 chore: update versions (#11951) 2025-09-23 19:16:25 +02:00