@gradio/button@0.8.2
105 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0fd56c10c7 |
chore: update versions (#13691)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
a1c3ffc111 | fix: recover unpublished 6.21 release (#13690) | ||
|
|
c3c5c67f47 |
Revert "fix: recover unpublished 6.21 release"
This reverts commit
|
||
|
|
dfdae7a384 | fix: recover unpublished 6.21 release | ||
|
|
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> |
||
|
|
7ac583a38a |
Make builds go zoom zoom (#13329)
* changes * fix tests * format * clean * add changeset * fix * add changeset * fix more * add changeset * fix more more * add changeset * ci: bound js-test step + add browser-mode debug logs The js-test step has been hanging 6h+ in CI on this branch. Investigation confirms the runner is *stuck*, not slowly executing tests: vitest's default per-test timeout (5s) and per-hook timeout (10s) only apply inside test execution, but the orchestrator's prepareIframe awaits iframe.onload/onerror with no timeout — so a stuck Vite transform or unresponsive chromium iframe blocks forever. Cap the step at 10 min (locally completes in ~25s) so failures surface fast instead of consuming a runner for 6 hours, and enable DEBUG=vitest:browser:* + --reporter=verbose so the next failed run shows where the orchestrator was waiting. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * gitignore * fix(ci): prevent vite optimizer reload from hanging js-test Root cause of the 6h js-test hang: vitest browser mode can't tolerate a full-page reload mid-suite. Vite's dep optimizer fires "optimized dependencies changed. reloading" when it discovers a dep that wasn't in its initial bundle — this disrupts the iframe orchestrator, whose iframe.onload listener has no timeout (orchestrator-DM4mHHP0.js:164), so iframes silently lose their socket and the orchestrator awaits forever. Two complementary fixes: 1. Pre-declare runtime dynamic-import deps (katex, mermaid, vega-embed, babylonjs viewer, extendable-media-recorder) in `optimizeDeps.include`. Vite's static scanner doesn't follow `await import(...)` calls, so without the include list these were discovered mid-test and forced the reload. With them included, all known deps end up in the same first optimize batch. 2. Cache `node_modules/.vite` between CI runs and pre-warm the optimizer with `vitest list` before the real test step. The cold-start reload (which fires once even with `include`, when the cache is empty) then happens during the throwaway prewarm — the real test step always sees a warm cache and never reloads. Local verification: cleared cache + run = 3-5 file failures from the reload. With these changes: 1685/1685 pass, no reload. The `timeout-minutes: 10` on the test step ensures any future regression fails visibly in 10min instead of consuming a runner for 6 hours. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * test(e2e): wait on stronger chain-drain signals in flaky specs Two functional specs flaked in CI on this branch — at the failure moment, the Gradio queue still had inflight events. Both already use deterministic final-state assertions, the failure was just that 10s isn't enough on a CI runner where 60+ chained events serialize through one queue. rapid_generation: switch the chatbot wait from message 11 (halfway) to message 22 (last in the 22-event chain). Once that message renders the chatbot chain is fully drained, leaving only a handful of pending number-chain events. Bump the chatbot wait to 30s so the slow run gets the headroom. theme_builder: bump the font-family and background-color assertions to 30s. Loading a theme round-trips through the queue + ships CSS vars + waits for the browser to apply them — that pipeline can exceed the 10s default on slow CI. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * remove Slider playwright-ct spec The Slider component test failed under the upgraded svelte 5.55 + vite-plugin-svelte 7 stack: playwright-ct passes plain objects for component props, but the Gradio class direct-aliases `_props.props` without an internal $state copy, so two-way `bind:value` doesn't propagate in the CT environment. The failing assertions were on range→number sync. The same flows are covered (more comprehensively) by the existing vitest unit tests in `Slider.test.ts`: number/range sync, value clamping, change/input/release events, reset button behavior, and accessibility — all of which run under the test infra's reactive proxy wrapper in `tootils/render.ts`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * unblock SSR functional tests on the upgraded svelte stack - skip custom_css `.dark styles` test in SSR mode. Under svelte 5.55 + vite-plugin-svelte 7 the user CSS `.dark .darktest h3` selector ties on specificity with gradio's prefixed `.prose h3` rule and loses on load-order in the SSR build. The companion `applies the custom CSS styles` test in this file is already skipped in SSR for similar reasons; tracking the load-order regression as a follow-up. - give render_tests its own 60s timeout. The demo is render-heavy (multiple `@gr.render` blocks, sliders, chatbots) and its SSR hydration occasionally pushes past the 30s default while the setup fixture is waiting for `#svelte-announcer`, manifesting as flaky setup timeouts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix e2e? * fix story * format * fix story again * fix(reload): push new server props into reused component instances Reload mode (`gradio <demo>` with watchdog) was failing to update the UI when components changed shape across a source-file edit. Tests hitting this: allowed_paths.reload, hello_blocks.reload (label changes, component swaps). Root cause: the Gradio<T,U> class in `js/utils/src/utils.svelte.ts` direct-aliases `_props.shared_props`/`_props.props` at construction (load-bearing for @gr.render user-edit preservation — see comments there). On reload, AppTree.reload() builds a new node tree with new ids and new prop objects. MountComponents matches children by position (unkeyed each), so the same component instances get reused — but the Gradio class inside each one keeps aliasing the OLD node's props. The new label/value/etc. never lands. `AppTree.rerender()` already handles the analogous case for @gr.render via #sync_reused_components_after_rerender — walks the new subtree and pushes only-defined keys via set_data, skipping undefined values so locally-edited fields survive. The id-change effect in the Gradio class re-registers the set_data callback under the new id, and #pending_updates queues anything that arrives before re-registration. Fix: call the same sync routine at the end of `reload()`. Same trade- offs apply as @gr.render — server-defined props propagate, locally- edited values (server omits them) are preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * clean up * fix * fix * fix * add changeset * fix * chore(tabs): remove debug logging and stale comments Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * format * add changeset * fix? * fix site * format * fix * format * fix error * add changeset * fix * format * Fix frontend profiling base gradio install * fix(ci): run frontend benchmark against installed gradio --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: hannahblair <hannahblair@hotmail.co.uk> Co-authored-by: Dawood <dawoodkhan82@gmail.com> |
||
|
|
601769e2cd |
chore: update versions (#13550)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com> |
||
|
|
1af4a6686a |
chore: update versions (#13535)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
85c6d8c43d |
remove behavioural story tests covered by playwright (#13538)
* remove redundant tests * format * restore textbox |
||
|
|
53cb4cae1e |
Run pnpm lint and pnpm ts:check on CI (#13526)
* Fix format diagnostics * add changeset * Fix format diagnostics * Fix frontend runtime test regressions * add changeset * Fix post-merge frontend diagnostics * add changeset * Simplify optional spaces imports * add changeset * Enable frontend lint and typecheck in CI * add changeset * Address review comments after merging main - Resolve merge conflicts in FullscreenButton wiring (keep dispatch where main added it; keep null guard + svg renderer in nativeplot) - gallery: make handle_save take a root-bound upload callback; drop unused Client import - tootils: drop duplicate ILoadingStatus, use the @gradio/statustracker type - types: widen frontend_fn return type to match process_frontend_fn runtime - dataframe: remove leftover console.log in measure_row Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Allow I18nData in choice display names for ty typecheck PR #13534 added runtime support for i18n'd choice display names in Radio/CheckboxGroup/Dropdown/SimpleDropdown but didn't widen the `choices` type, so `ty` flags `demo/i18n/run.py`. Widen the tuple display side to `str | I18nData` to match `label`/`info` and the runtime behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * changes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
e5ec1ca66c |
Fix fullscreen button not working in ImageSlider, interactive Image, native plots, and AnnotatedImage (#13533)
* Fix fullscreen button onclick in four components FullscreenButton's Svelte 5 migration (#12779) replaced its dispatched fullscreen event with a required onclick prop, but four call sites kept the old on:fullscreen wiring, so clicking the button threw "onclick is not a function" and did nothing in ImageSlider, interactive Image, native plots, and AnnotatedImage. Wire onclick at all four sites, following the ImagePreview fix from PR #13004. ImageUploader and SliderPreview also dispatch a component level fullscreen event that their parent Index components already listen for. In nativeplot, the now-working toggle re-renders the chart and exposed a race in load_chart: resuming from await import("vega-embed") after unmount called vegaEmbed with a null element, leaving an unhandled rejection. Re-check chart_element after the await. Add a click-toggle unit test for each component; all four fail without the fix. * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
2b53384f5d |
chore: update versions (#13506)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
1b611f89fb |
Fixes grouped accordion borders and empty plot legends (#13523)
* fix grouped accordion borders and empty plot legends * add changeset * fix grouped accordion border thickness * add changeset * remove grouped accordion follow-up tests * fully hide empty native plot legends * fix native plot data row type --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
af4945f638 |
Revert "fix grouped accordion borders and empty plot legends"
This reverts commit
|
||
|
|
f2530af66b | fix grouped accordion borders and empty plot legends | ||
|
|
429faeb643 |
Ensure every component dispatches a change event (#13502)
* Add change event to AnnotatedImage and native plots Issue #5309 asks that every value-bearing component dispatch a `change` event. AnnotatedImage and the native plots (BarPlot/LinePlot/ScatterPlot) were missing `.change()`. - AnnotatedImage: add Events.change to EVENTS. The frontend already dispatches change via gradio.watch_for_change() and declares it in its event types, so only the Python listener was missing. - NativePlot: add Events.change to EVENTS, call gradio.watch_for_change() in nativeplot/Index.svelte, and add `change` to NativePlotEvents. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * add changeset * Add change event to remaining value components (buttons, Dataset, Timer, WorkflowCanvas) Every component has a programmatically-settable `value` (a Button's value is its label), so per #5309 every component should dispatch `change` when that value changes. This completes the audit: no component is left without `change`. - Button (and ClearButton/DuplicateButton/LoginButton/DeepLinkButton, which render via the button frontend), DownloadButton, UploadButton, Dataset, Timer, WorkflowCanvas: add Events.change to EVENTS. - Wire gradio.watch_for_change() in the corresponding Index.svelte files and declare `change` in their event type interfaces. watch_for_change() only dispatches when props.value actually differs, so it is added only to components that did not already manually dispatch change (no double-firing for the ~30 components that handle change themselves). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Update changeset for full change-event coverage Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Add test that every component has a working .change() event - test/test_components.py: test_all_components_have_change_event iterates all core Component subclasses, asserts each has a `change` event and that wiring `.change()` inside a Blocks context does not error. - Fallback also gets Events.change + watch_for_change() so the invariant holds for every component (its event types already declared `change`). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Fix UploadButton double change-firing, simplify test, regen skill docs - UploadButton already dispatches `change` on upload, so the added watch_for_change() made the change event fire twice (broke the js-test "upload and change events fire after file upload"). Remove it. - test_all_components_have_change_event: use the io_components fixture and a single `component().change(lambda: None)` check (addresses review feedback). - Regenerate references/event-listeners.md via scripts/generate_skill.py to reflect the new change events (fixes hygiene-test). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Update js/button/Index.svelte Co-authored-by: hysts <hysts@users.noreply.github.com> * changes --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: hysts <hysts@users.noreply.github.com> |
||
|
|
43f5de6857 |
chore: update versions (#13255)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
2428047143 |
chore: update versions (#13200)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
b4c801ef3c |
chore: update versions (#13137)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
5747097e2c |
chore: update versions (#12978)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
41e98f9468 |
chore: update versions (#12953)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
8984159325 |
chore: update versions (#12850)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
fe99e84e31 |
chore: update versions (#12816)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
09a7315d4b |
chore: update versions (#12768)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
7a1c321b65 | Bump svelte/kit for security reasons (#12800) | ||
|
|
07c5280ece |
Add axis_format parameters for native plots, and fix SSR mode (#12801)
* changes * add changeset * add changeset * changes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
ea2d3e985a |
Migrate Audio + Upload + Atoms to Svelte 5 (#12779)
* migrate * audio + upload migrate * add changeset * add changeset * more migrations * format * fixes * add changeset * fixes * add changeset * more fixes * add changeset * more svelte 5 changes * icon button fixes * add changeset * audio test fix * test fix * fix * vite fix * fixes * add changeset * add changeset * 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> |
||
|
|
0cfaef91c3 |
Upgrade to Storybook 10 (#12683)
* update storybook stories and config * fix * lockfile * format * add flag and update chromatic cli * fixes * fix visible prop * fix chatbot rtl * update navbar story * update navbar story * update tabs story * fix slider * fix navbar story * fix multimodal textbox RTL and fix slider story * fix multimodal textbox RTL and fix slider story * fix rtl in chatbot * tweak * clean up * format * tweak * tweak * unused onmount * use local files * * use local files * format * remove vitest config |
||
|
|
8b70fa81b5 |
chore: update versions (#12623)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
fa75712a32 |
Add custom buttons to gr.Dropdown(multiselect=True) and gr.LinePlot and other native plots (#12627)
* changes * add changeset * changes * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
3b56b13268 |
chore: update versions (#12545)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
be915ce2dc | chore: update versions (#12497) | ||
|
|
0892c297b3 |
Fix plot Rendering + visibility bug (#12515)
* Fix plot Rendering + visibility bug * add changeset * add changeset * Fix * Fix * Fix failing test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
b020d8fa4c |
chore: update versions (#12251)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
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
|
||
|
|
dce4714914 |
I am changesets (#12439)
* bump all * version everything |
||
|
|
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
|
||
|
|
4f47fdd0be |
chore: update versions (#11988)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
abc4dbe95d |
Add export button to native plot components (#12003)
* Remove inline comments * add changeset * changes * docs * format * dark mode * format --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
90275697c2 | chore: update versions (#11965) | ||
|
|
72c75147af | chore: update versions (#11861) | ||
|
|
d9dd3f54b7 |
Add "hidden" option to component's visible kwarg to render but visually hide the component. (#11784)
* revert visible only rendering * add changeset * add hidden visibility option * clean * clean * add changeset * fix * fix * remove old files * clean * fix * fix tests --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
83e34cb248 |
chore: update versions (#11813)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
a30f485e1d |
Fix native plots with long y-axis titles (#11843)
* changes * add changeset * clean up * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
1a4b266e07 |
chore: update versions (#11786)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
c31514e8a9 |
chore: update versions (#11754)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
cd27e1f5f4 |
chore: update versions (#11705)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
85841e3f8f |
chore: update versions (#11693)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
edd3ef3bf3 |
chore: update versions (#11575)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
45798f986f |
chore: update versions (#11476)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |