@gradio/code@0.19.0
45 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
0fd56c10c7 |
chore: update versions (#13691)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.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> |
||
|
|
1af4a6686a |
chore: update versions (#13535)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
1d19f2b21f |
Fix long unbroken text overflowing in the Markdown component (#13541)
* Fix long unbroken text overflow in Markdown Long unbreakable strings (no spaces, e.g. a long URL or an underscore-joined token) did not wrap in markdown: they overflowed the container horizontally and, in list items, pushed the bullet or number marker onto its own line. Add `overflow-wrap: anywhere` to the markdown render span so such strings wrap; it lowers min-content width too, so markdown also fits inside table cells and flex items. Code blocks keep their own `word-wrap: normal` and still scroll. Switch `.prose` lists from inside to outside markers (with a padding gutter) so the marker stays beside the first line when a long item wraps, giving lists a standard hanging indent. Closes #7844 * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-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) | ||
|
|
8b70fa81b5 |
chore: update versions (#12623)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
51b7010a50 |
pollen css fix (#12762)
* pollen css fix * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-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
|
||
|
|
899ebb88af |
chore: update versions (#10516)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
ed25a1053a |
Add 1920px wide resolution for wide monitors (#10552)
* Add 1920px wide resolution for wide monitors * add changeset * format --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
cc39d3b737 | build essential packages fpor functional tests (#9802) | ||
|
|
bbf9ba7e99 |
i am changesets now (#9612)
* version * fix |
||
|
|
6f95286337 |
5.0 dev -> main (#8843)
* enter pre-release mode * Remove deprecated parameters and classes for the 5.0 release (#8797) * 5.0 * add changeset * deprecate more * add changeset * lint * Update rotten-bears-bathe.md * Update icy-clocks-juggle.md * changes * Delete .changeset/icy-clocks-juggle.md * every * more deprecation * deprecate inits * fix * fix func * fix some tests * format * fix more tests * fixes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fix (#8830) * fix * Prevent invalid values from being submitted to dropdown, etc. (#8810) * prevent invalid values * error * add changeset * component * add tests * fix tests * spec ts * format --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fixes * Remove manual ip address check and launch counter (#8884) * changes * add changeset * hash * changes * remove * changes * rename * internal * changes * remove json path * merge * fix tests --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Remove deprecated documentation (#8940) * remove logoutbutton page * remove huggingfacedatasetsaver * Use HTTP Livestreaming for audio/video streaming out (#8906) * HTTP live streaming * type check * fix code * Fix code * add code * Video demo * Fix tests * Update notebook * Add guide * Fix demo * Allow downloading * revert * Fix download filename * lint * notebooks * fix video demo * Fix config * Fix audio repeated play bug * Improve guide * fix audio? * Use cantina * Code * type check * add code * Use runtimeerror * Add code * Adds `strict_cors` parameter to `launch()` (#8959) * prevent null origin requests by default * changes * add changeset * format --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fi * Streaming out tweaks (#8976) * Tweaks * Better * typo * lint * Improve url downloads for file objects (#8978) * changes * changes * add changeset * add changeset * Ci security tweaks (#9010) * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * asd * change * changes * changes * changes * changes * changes * changes --------- Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> * merge main (#9050) * lint * Have gr.on set value at start as well (#9065) * changes * changes * changes --------- Co-authored-by: Ali Abid <aliabid94@gmail.com> * No token passed by default in `gr.load()` (#9069) * changes * add changeset * docstring * change * client changess --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * changes * Set default `format` in `gr.Audio` to be `None` to avoid unnecessary preprocessing (#9073) * audio format * add changeset * lint * docstring * format * fix tests * tweaks * refactor * fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Streaming inputs for 5.0 (#8941) * Fix code * Add code * Add code * working demo * hacky video * Add code for video * Fixing some code * clean queieing * low streaming mode audio * reworking * remove console * Pretty good spot * Delete unused * consolidate * Add progress bar * Set time limit null * delete * Fix then issue * merge out * Add code * clean up * Remove base64 * Add code * minor bugs * End stream * Fix rerender * remove unwanted * Address streaming comments * Commit file lol * ;int * lint backend * lint * Fix queue status. Stream_every defined in event * Fix types * Add code * Add code * Add code * queue time * docstring wording * Fix typo * add changeset --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * 3.10 (#9133) * Deprecate passing a tuple for gr.Code value (#9132) * Add code * add changeset * lint * type check --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Postprocess hardening (#9122) * hardenning * Fix code * add changeset * Fix tests * add test fuzzer * Clean up * revert * Fix * Add code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Drop python 3.8 and 3.9 (#9140) * drop support for python 3.8 and 3.9 * add changeset * format * changes * add changeset * changes * add changeset * changes * 3.10 * string * tweak * tweak * changes * changes * format * more tweaks * update actions * website docs build * fix func tests * rev req * test fix * remove ruff rule for zip strict --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Raise WasmUnsupportedError for ffmpeg usage on Lite (#9130) * Raise WasmUnsupportedError for ffmpeg usage on Lite * add changeset * add changeset * Add WasmUnsupportedError in Audio._convert_to_adts * Add WasmUnsupportedError in processing_utils.audio_to_file * Fix * Raise WasmUnsupportedError from processing_utils.audio_from_file * empty commit --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Video gallery (#9052) * video support * tests and backend changes * undo main merge * upload fix * Revert "undo main merge" This reverts commit e2a26e6d28772587dadce2bb00c3581f97883664. * type fixes * format * pr fixes * Update gradio/components/gallery.py Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Update gradio/components/gallery.py Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * type fix * thumbnails * thumbnail type * remove thumbnail generation * add changeset * test fixes * test fixes * python test fix * python test fixc * fix * fix * story fix --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Open audio/image input stream only when queue is ready (#9149) * fix * submit logic happens in Blocks * add changeset * trigger ci * trigger ci * Add code * Add code * Fix retrigger refactor * Add code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * trigger ci * update (#9176) * File access security guide (#9156) * first draft Add code Add code Add code emphasis * suggestions * redirects * add changeset * trigger ci * typos --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fix guide * Fix notebook (#9181) * DNS resolver on ip check (#9150) * changes * changes * add changeset * chaanges * changes * changes * changes * changes * add caching and whitelist * remove hf.space --------- 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> * Change dark mode color theme from `gray` to `zinc` (#9175) * use zinc as neutral colour * add changeset * fix test * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Streaming Guides (#9173) * Fix unified case * commit * Add code * add changeset * notebook * Lint * delete * Fix code * fix tests * File access security guide (#9156) * first draft Add code Add code Add code emphasis * suggestions * redirects * add changeset * trigger ci * typos --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * redirect * typos * link * fix * See what the problem is * less time * fix * try again with busted cache * try again * Code * Demo and code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> * Fix (#9215) * Deprecate type='tuples for chatbot and focus chatbot docs on 'messages' type (#9194) * Remove grey background behind all components (#9213) * remove panel padding and border * add changeset * revert radius change * add changeset * format * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * changes * changes * Revert "changes" This reverts commit |
||
|
|
b635a31714 |
chore: update versions (#9168)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
2b6cbf2590 |
Fix published package exports (#9163)
* rename * save patch * fix everything * format * rm file * fix stuff * tweaks * tweaks * tweaks * tweaks * tweaks * asd * asd * asd * asd * asd * asd * asd * fix * Fix scripts/run_lite.sh and scripts/build_lite.sh (#9170) * fixes * fixes * asd * asd * asd * review comments * fiux types * fiux types * make fileexpolorer public * format * lint * lint --------- Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com> |
||
|
|
fac5a7fafe |
chore: update versions (#9072)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
e1c404da11 |
setup npm-previews of all packages (#9118)
* add workflow * fix pkg jsons * workflow name * add changeset * fix * add changeset * fix build command --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
fe91e10269 |
chore: update versions (#8335)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
35905c5c8f |
Cleanup markdown styling (#8311)
* changes * add changeset * changes --------- Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
ddc5d3866c |
chore: update versions (#7992)
* chore: update versions * changeset --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
06bdf0eddf |
Restore chatbot formatting (#7998)
* changes * add changeset * 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> |
||
|
|
b561a27816 | chore: update versions (#7914) | ||
|
|
b165193902 |
Restore Markdown formatting for Chatbots, MarkdownCode (#7936)
* changes * add changeset * changes * add changeset * changes * changes * changes * changes * add changeset * chages --------- Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
e16b4abc37 |
chore: update versions (#6039)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / comment-chromatic-end (push) Has been cancelled
deploy to chromatic / comment-chromatic-fail (push) Has been cancelled
deploy to chromatic / comment-chromatic-start (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
287fe67828 |
Version 4 development branch (#5498)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / comment-chromatic-end (push) Has been cancelled
deploy to chromatic / comment-chromatic-fail (push) Has been cancelled
deploy to chromatic / comment-chromatic-start (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
* squash commit * BugFix: Make FileExplorer Component Templateable (#5933) * Make FileExplorer templateable * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix notebooks (#5935) * V4: Update Component pyi file (#5937) * Add code * add changeset * delete --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Use beta release versions for '@gradio' packages (#5938) * Fix versions * add changeset * fix * add changeset * fix * add changeset * Fix * fix preview * add changeset * final fix * add changeset * fix * add changeset * fix * add changeset * revert change --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * maybe fix (#5946) * Merge main again (#5948) * maybe fix * fix * Merge main again (#5949) * maybe fix * fix * weird weird weird * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Merge main again (#5950) * maybe fix * fix * weird weird weird * fix * log * log * fix changesets * rererefactor frontend files (#5960) * do all the things * add changeset * remove codemod * fix * change casing * condense upload button --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Strip vite import warning (#5962) * Add code * Remove comment * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5769) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * release wasm (#5963) * release wasm * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Wasm release (#5964) * release wasm * release wasm * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5965) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Add json schema unit tests (#5970) * Add tests * add changeset * Fix tests * api-info * Add test * Add test * Add email tests * 3.8 fix 🙄 --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Simple textbox (#5990) * Simple textbox * add changeset * Trim down events * Trim * Clean up change event * Add comment --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * File upload optimization (#5961) * Use custom multipart parser * add changeset * remove print * Add comment * Lint * fix code * remove print --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Removes deprecated arguments and parameters from v4 (#5968) * Removes deprecated arguments and methods for v4 * remove update * style * add changeset * added params * typign * fixed all of the typing * tests * fix layouts * layout * fix config * fix * fix form * fix * fix blocks tests * fix some more tests * lint * fix test routes * doc * notebooks * remove doc * format * format * remove group * label docstring * remov test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Simple dropdown (#5996) * Add code * lint * comment * add changeset * revert * Fix update + docstring cleanup * Add code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * pass props to example components and to example outputs (#6014) * pass props to example components and to example outputs * add changeset * make util less egenric/ more useful * fix demo * fix demo * fix * fix test * Fix test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> * Format js in v4 branch (#6016) * Format v4 branch js * add changeset * lint --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Fix component update bug (#6027) * Fix tests + bugs * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * lockfile update * Fixing test * fix test * Add a cli command to list available templates (#6018) * Add code * dataset * Add test * add changeset * add changeset * add changeset * add changeset * Exclude FormComponent * Paginate the output * No colors but emojis: --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fix tests (#6046) * fix storybook (#6065) * fix storybook * add changeset * fix * add changeset * fix * fix * fix components * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * remove dupe component (#6067) * remove dupe component * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Simplify File Component (#6044) * Add code * Add code * Add code * Reuse code UploadButton * Use two files for UploadButton * Address feedback * Lint * add changeset * Update js/uploadbutton/shared/UploadButton.svelte Co-authored-by: pngwn <hello@pngwn.io> --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> * Clean up backend of `File` and `UploadButton` and change the return type of `preprocess()` from TemporaryFIle to string filepath (#6060) * changes * add changeset * upload button * file * add changeset * valid types * fix tests * address review --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix Dropdown Example component and example processing logic (#6075) * fix examples * helpers * dropdown * fix cc build (#6079) * fix cc build * add changeset * throw error if build fails * fix entry points * add changeset * fix lockfile * Add test * update workflow * try resolve * lint 🙄 * Use xfail --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> * Fixes markdown rendering in examples (#6071) * Fixes markdown rendering in examples * add changeset * update delimiters * format * format * docstrings * test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Proposal: sample demo for custom components should be a `gr.Interface` (#6077) * update sample demo to interface * add changeset * modify * Update gradio/cli/commands/components/_create_utils.py Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com> * added layout and static * fix * refine --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com> * WIP: Fix docs (#6082) * Website fix * add changeset * Fix code * pin version * Add code * skip code --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Pending events behavior (#5826) * enter changesets pre-release mode * release first version (#5500) * release packages * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fix changeset (#5502) * add changeset * release first version * Custom components (#5507) * Add flag * Copy front-end * Add backend code * Remove breakpoint * Fix init * Add code * File reorg * Fix types * Upload files * Fix code * Custom components * Add code * Client changes * More changes * Add code * Add code * Fix reversion * build hook integration * Add code * rm file * Add code * rename cli * Add code * Nicer cli * Add display class * Add backend devmide * Add code? * Add code * Add paths and fix reload mdoe * Fix .then * changes * fix * fix * changes * changes * changes * Fix versions * Fix wheel build from source * Add code * Get no template case working * Cc fe (#5509) * tweaks * fix 18n * fix 18n * tweaks * Change name --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> * Do not use live display for dev mode * Clean up front-end server print statements a little bit * Fix success event * Cc fe 2 (#5526) * tweaks * fix examples * fix backend port * fix things * fix * Fix json component flagging * fix * fuix --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> * Fix template (#5533) * Fix type hint (#5536) * fix custom components when installed from wheel (#5552) * Fix all demos custom components (#5555) * Fix all_demos * Fix issues * trigger ci * add changeset * Fix merge * lockfile * Add code * add code * Fix command * Add code * Fix highlighted text * fix interactive highlighted text * tweak ci * Disable example caching for load right now --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * image fixes (#5589) * Add flag * Copy front-end * Add backend code * Remove breakpoint * Fix init * Add code * File reorg * Fix types * Upload files * Fix code * Custom components * Add code * Client changes * More changes * Add code * Add code * Fix reversion * build hook integration * Add code * rm file * Add code * rename cli * Add code * Nicer cli * Add display class * Add backend devmide * Add code? * Add code * Add paths and fix reload mdoe * Fix .then * changes * fix * fix * changes * changes * changes * Fix versions * Fix wheel build from source * Add code * Get no template case working * Cc fe (#5509) * tweaks * fix 18n * fix 18n * tweaks * Change name --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> * Do not use live display for dev mode * Clean up front-end server print statements a little bit * Fix success event * Cc fe 2 (#5526) * tweaks * fix examples * fix backend port * fix things * fix * Fix json component flagging * fix * fuix --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> * Fix template (#5533) * Fix type hint (#5536) * fix custom components when installed from wheel (#5552) * Fix all demos custom components (#5555) * Fix all_demos * Fix issues * trigger ci * add changeset * Fix merge * lockfile * Add code * add code * Fix command * Add code * Fix highlighted text * fix interactive highlighted text * tweak ci * fix image uploads * add changeset * remove changeset * add changeset --------- Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Support Literal Typehints (#5591) * Fix updateable * Deploy for failing actions * fix enum * Add code * remove gradio lite from publish ci * fix * fix * chore: update versions (beta) (#5501) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fix js deps in cli and add gradio-preview artifacts to build (#5610) * Fix js dependencies in cli * Add preview to build command * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5612) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * backend linting (#5613) * backend linting * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Publish js theme (#5615) * Publish js theme * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5614) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Add code (#5617) * Add docstring to trigger release (#5618) * Add docstring * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5619) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix build and broken imports (#5620) * fix broken import * fix build scripts * add changeset * Update js/statustracker/static/index.svelte --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5621) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fix esbuild (#5624) * fix build * fix build * add changeset * fix build * fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5626) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fix esbuild (#5629) * fix build * fix build * add changeset * fix build * fix * asd * more fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * asd (#5630) * chore: update versions (beta) (#5631) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Some minor v4 fixes (#5637) * Add code * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Publish all components to npm (#5648) * Publish image component * publish components * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5638) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Fix front-end imports + other misc fixes (#5649) * Fix console error * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Add overwrite flag to create command (#5651) * Add overwrite flag to create command * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5650) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Make layout components templateable (#5665) * Split out layouts * Refactor cli * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Patch fixes (#5678) * Handle lowercase template name frontend * Lint * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix build and file route (#5680) * Add code * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5662) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * V4 fix typing (#5686) * Add examples for series and parallel * v4 fix typing * add changeset * Fix * Fix * Fix 3.8 * Fix typing 3.8 * Lint * Add code * Add key * Fix typing * Add code * Fix deps * Fix fastapi * Fix version ' : --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Use overrides (#5695) * Use overrides * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * ensure client is copied along with components (#5709) * ensure client is copied along with components * add changeset * add changeset * chore: update versions (beta) (#5688) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix build config (#5710) * Fix python unit tests for v4 (#5715) * Add code * Fix tests * Add ci * Add code * fix test_blocks * More fixes * Last changes * add changeset * Add code * Continue for the sake of some green ci * Proper api info --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Better test dir check (#5719) * FIx test-dir check * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Use path to npm executable in subprocess (#5736) * Use path to npm in subprocess * Fix dev mode too * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Add Error + test (#5738) * Add Error + test * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix component regex (#5739) * Add code * Fix component regex * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix layout templates (#5740) * Fix templates * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix template remaining components (#5743) * add code * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * --overwrite deletes previous content (#5744) * Add code * Add code * add changeset * Add test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Support call method (#5751) * Support call method * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix windows ci build (#5752) * Try bash * Use cross-env * Trigger CI * Fix comma * add changeset * Modify lock file * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix windows paths (#5745) * Use posix path * add changeset * add changeset * Try normalize * to_posix v2 * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * chore: update versions (beta) (#5717) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Simplify how files are handled in components in 4.0 (#5768) * Client and upload route hash files * Refactor logic * add changeset * Add code * View API fix * Fix client tests * Dumb windows fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix deployed demos on v4 branch (#5770) * Template fixes * add changeset * add changeset * Fix streaming audio * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Name Endpoints if api_name is None (#5782) * Implementation and test * add changeset * fix lint * Fix nits --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * pending events * add changeset * Set api=False for cancel events (#5851) * Set api=False for cancel events * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Set cache dir for some component tests (#5852) * Add code * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Use async version of shutil in upload route (#5853) * Use async shutil copy * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * trigger_mode * changes * undo * undo * add changeset * undo * add changeset * image undo * add changeset * fix merge errors * remove prints * change * fix * fix error * change * quick fix * trigger_mode param * type * value error --------- Co-authored-by: pngwn <hello@pngwn.io> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Fixes: slider bar are too thin on FireFox (#5984) * firefox slider fix * add changeset * fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Fix remaining xfail tests in backend (#6073) * Add code' * Add code * Add code * Fix dataset * add changeset * Add some comments * Add recover_kwargs * Remove from docstring * Audio-to-audio --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix dev mode model3D (#5955) * Fix dev mode * Lint * add changeset * Fix dev mode * Lint * remove console.log * add changeset * interactive fix * Fix tests --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Dawood <dawoodkhan82@gmail.com> * V4: Single-file implementation of form components (#6026) * Checkbox and number * Number, Checkboxgroup, Radio, and Slider * Format * remove range * Refactor checkbox * Forgot to add * Refactor * Lint * add changeset * use rich emoji markup * Fix ts --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Update logos for v4 (#6089) * update v4 logo * add changeset * size * fix on website * fix on demos * add changeset * favicon for demos * margin on footer logo * margin bottom to footer logo --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com> * Add a stand-alone install command and tidy-up the fallback template (#6092) * Add code * add changeset * Add test * Make install default * Better error message --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * V4: Fix constructor_args (#6093) * Fix * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Fix: Move to cache in init postprocess + Fallback Fixes (#6107) * Add code and test * restore * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fix build (#6112) * fix build * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Update cold-lemons-roll.md * Revert "Update cold-lemons-roll.md" (#6113) This reverts commit |
||
|
|
35f58db405 |
chore: update versions (#5940)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / comment-chromatic-end (push) Has been cancelled
deploy to chromatic / comment-chromatic-fail (push) Has been cancelled
deploy to chromatic / comment-chromatic-start (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
921334526f |
Lite: Support the custom HTML element syntax <gradio-lite> (#5953)
* Create a custom element `<gradio-app`> for Gradio-lite * Parse `<gradio-app`> attributes to configure the top level component * Move custom-element code to lite/custom-element module * add changeset * Apply formatter * Rename the custom element `<gradio-app>` to `<gradio-lite>` * Fix the .gradio-lite to be minimum * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
3d263ba007 |
chore: update versions (#5796)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / comment-chromatic-start (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
deploy to chromatic / comment-chromatic-end (push) Has been cancelled
deploy to chromatic / comment-chromatic-fail (push) Has been cancelled
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
e4a307ed6c |
Add component <-> server direct communication support, as well as a "file explorer" component (#5672)
* changes * changes * add changeset * add changeset * Server fns ext (#5760) * start changes * changes * changes * fix arrows * add changeset * rename demo * fix some ci * add changeset * add changeset * fix * remove configs * fix * fix * add changeset * fixes * linting * Update gradio/components/file_explorer.py * notebook * typing * tweaks * fixed class method problem * fix test * file explorer * gr.load * format * tweaks * fix * fix * fix * fix * final tweaks + changelog * changelog * changelog * changelog * lint --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
710cbb67fc |
chore: update versions (#5419)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / comment-chromatic-fail (push) Has been cancelled
deploy to chromatic / comment-chromatic-end (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
deploy to chromatic / comment-chromatic-start (push) Has been cancelled
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
afac000633 |
significantly improve the performance of gr.Dataframe for large datasets (#5342)
* virtualise the dataframe * add changeset * fix non visible df * add changeset * tweak width calculation * check client * add changeset * fix weird heights * add changeset * remove logs * add changeset * fix height measurement * fix tests * fix rendering for short dataframes * cleanup * add changeset * fix scroll and loading * fix scollbars and loading border * fix scollbars and loading border * add changeset * fix many bugs * fixes * maybe this * tweaks * fix everything * notebooks * remove comments * fix things * fix visibility issue * tweak * fix demos --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
ba4c6d9e65 |
chore: update versions (#5177)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / comment-chromatic-end (push) Has been cancelled
deploy to chromatic / comment-chromatic-start (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
deploy to chromatic / comment-chromatic-fail (push) Has been cancelled
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
|
|
fe057300f0 |
delegate gradio events via a custom event dispatcher (#5279)
* delegate gradio events via a custom event dispatcher * improve md perf + share code * fix df markdown * prevent model3d from rerending too frequently * tweaks * fix more event bugs with video * add changeset * optimise handle mount * does this do anything * fix * remove old dispatches * fix dropdown position * oops * fixes * fix tests * fix types * format * fix markdown code * add changeset * fix typecheck * fix typecheck * fix demos * notebooks * fix tests * changer * maybe this * fixes * add changeset * fix chatbot alignment mobile * fix chantbot * add changeset * changeset * changeset * storybook --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
1419538ea7 |
Refactor component directories (#5074)
* asd * changes * fix everything * cleanup * add changeset * fix casing * lockfile * fix casing * fix ci, enable linting * fix test * add changeset * add changeset * delete changeset * fix dirs * fix casing * fix notebooks * fix casing * fix casing * fix casing * fix casing * fix casing * fix casing * fix casing * fix casing --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
861d752a83 |
chore: update versions (#4999)
deploy to chromatic / get-current-pr (push) Has been cancelled
deploy to chromatic / chromatic-deployment (push) Has been cancelled
* chore: update versions * undo diff --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com> |
||
|
|
41c83070b0 |
Add CSS resets and specifiers to play nice with HF blog (#4997)
* changes * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> |
||
|
|
62306d9ed1 |
unified release process (#4986)
* Implement unified version and release mechanism for all python and javascript packages. * Update gradio/package.json Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * fix changelog * fix changelog * Update js/button/README.md * Update .github/workflows/generate-changeset.yml --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
2f488e782c |
chore(deps): update dependency postcss-custom-media to v9 (#4630)
* chore(deps): update dependency postcss-custom-media to v9 * fix custom media plugin * make path absolute --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io> |
||
|
|
e7ab0f323a |
4614 chatbot (#4527)
* fix code rendering * tweak * changelog * tweaks |
||
|
|
963c2d26ee | 3712 js client (#3899) | ||
|
|
09aedce77c |
Theme builder (#3664)
* changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * Update CHANGELOG.md Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * Update gradio/themes/builder.py Co-authored-by: Abubakar Abid <abubakar@huggingface.co> * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
ae4277a9a8 |
move files (#3605)
* move files * commit the rest of the files * fix lockfile * fix workflow * fix type errors * fix tests * only run ci when certain files change * run correct test command in ci * version * fix pypi script --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |