@gradio/code@0.19.0
194 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
2f6d04acf8 |
Various improvements to Workflows, particularly for LLM-generated Workflows (#13654)
* Improve Workflow canvas feedback * add changeset * Apply suggestions from code review Co-authored-by: Abubakar Abid <islamrealm@gmail.com> * Apply suggestion from @abidlabs * add changeset * changes * add changeset * Fix workflow image generator demo * add changeset * Address Workflow review feedback * Make workflow demo path independent * Keep Workflow skill generation in sync --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
48bdb2c22d | Allow frontend builds to skip offline assets (#13653) | ||
|
|
46d391bd43 |
Fix embedded apps growing infinitely tall on Spaces (#13563)
* fix: stop embedded apps growing infinitely tall on Spaces When a Gradio app is embedded in the HF Spaces iframe-resizer, it reports its own height via `parentIFrame.size()` from a ResizeObserver on the root container. Content sized with `vh`/`%` units (#12089) or stretched by `fill_height` (#12992) grows to fill whatever height the iframe is given, so its measured bottom just tracks the viewport — and each report grows the iframe, which grows the content, which triggers another report: an unbounded feedback loop. `footer_links=[]` removed the slack that used to mask it for `fill_height`. `handle_resize` now: - skips growth when content merely fills the viewport (no real overflow), - ignores sub-pixel echoes from our own resize, - and trips a circuit breaker after several consecutive grows (a self- induced loop), so the height stays bounded. Shrinking and a few legitimate grows (late-loading images, revealed blocks) are unaffected, so normal resize-to-fit still works. Closes #12089 Closes #12992 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix: pin iframe-resizer child to v4.3.1 to match HF Spaces' v4 parent `download_offline_assets.py` preferred the `@iframe-resizer/child` package from node_modules, which is v5 (and GPL-3.0). HF Spaces embeds apps with an iframe-resizer v4 parent, and a v5 child speaks a different postMessage protocol the v4 parent can't handshake with — so `window.parentIFrame` never appears in the embedded app and the height reporting in Blocks.svelte silently never runs. The node_modules path doesn't resolve today (the package is only a spaces-test devDependency), so this is a latent footgun; fetch the MIT-licensed v4.3.1 child unconditionally instead. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * test: suppress BabylonJS `postProcessManager` unhandled rejection in Model3D test The js-test run failed on an unhandled rejection leaking from Model3D.test.ts: `TypeError: Cannot read properties of null (reading 'postProcessManager')` — the BabylonJS render loop touching `scene.postProcessManager` after the scene was disposed on cleanup. This is the same class of harmless post-teardown async race the test already suppresses (Viewer is disposed, addEventListener, etc.); it just wasn't in the allowlist. Add it so all assertions (which already pass) don't get masked by a flaky unhandled rejection. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Apply suggestion from @abidlabs --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
8eafb31ee1 |
refactor space and model discovery modal (#13511)
* ui tweaks * add changeset * improve search modal ui * add thumbnail * add thumbnail logic * add changeset * remove dead code * fixes * format + lint * fix ruff lint errors in workflow.py (SIM102, ARG001) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix ty type errors in curated cache (TypedDict) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * fix workflow-modalities test: MODEL_MODALITY renamed to ALL_MODALITY The stale import failed esbuild's dependency scan, which cascaded into flaky 'Vite unexpectedly reloaded' failures across unrelated component tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * changes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <islamrealm@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
85c6d8c43d |
remove behavioural story tests covered by playwright (#13538)
* remove redundant tests * format * restore textbox |
||
|
|
9362fd9fdb |
Use local HF token in Workflow, gated behind a write-token auth model (#13520)
* Use local HF token in Workflow * add changeset * Gate Workflow editing and local HF token behind a write token Locally, launch() prints a private edit link carrying a per-process write_token (Jupyter-style); the frontend persists it as a cookie. Sessions without it - share links, tunnels, LAN visitors - get a read-only canvas, cannot save, and never receive the host's huggingface_hub token. On Spaces, write access requires OAuth as the Space owner or an org member with write access. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Address review: simplify token helpers, use whoami cache, trim tests - Move huggingface_hub imports to top of file; drop defensive try/except in _get_locally_saved_hf_token - Drop the GRADIO_WORKFLOW_WRITE_TOKEN env override - Replace the hand-rolled TTL cache with whoami(cache=True) on a shared HfApi instance - Consolidate write-access tests and remove trivial/duplicated ones Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * changes * changes * Remove changesets so CI regenerates one Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * add changeset * Address Copilot review: respect quiet, Secure cookie, defer autosave - Gate the edit-link print behind quiet=True so the write token can't leak into logs when silence was requested - Mark the write-token cookie Secure when served over HTTPS - Defer autosave until the write-access check answers, so guests in the optimistic window don't fire saves the backend rejects Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Fix typecheck: use a real gr.Request in workflow tests ty rejects SimpleNamespace where Request | None is expected; Request supports kwargs-based construction for exactly this testing use. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * changes * changes * changes * changes * changes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
58088ad1d7 |
Self-host frontend assets so that Gradio works offline! (#13463)
* Self-host frontend assets so Gradio works offline. Bundle theme fonts, Bokeh, FFmpeg, and iframe-resizer locally instead of loading from external CDNs, and document what still requires network access. Co-authored-by: Cursor <cursoragent@cursor.com> * add changeset * Address Copilot review feedback on offline asset bundling. Align LocalFont default weights with bundled fonts, fix Bokeh CDN fallback and download URLs, use importlib.resources for font detection, and support subpath-mounted static assets. Co-authored-by: Cursor <cursoragent@cursor.com> * Bundle the installed Bokeh version for offline use. gradio's Plot component sends `bokeh.__version__` of the installed package to the frontend, which then loads /static/bokeh/{version}/. The download script only bundled a hardcoded list, so any other installed version 404'd locally and fell back to the CDN (breaking offline). Always include the installed version. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Fix Bokeh local asset URL resolving to undefined at init. The local/CDN script URLs were reactive (`$:`) declarations, but `load_bokeh()` consumes `main_src` synchronously during component init -- before Svelte runs reactive statements. This set the script src to `undefined`, 404'd on /undefined, and silently fell back to the CDN (breaking offline). Compute the URLs as plain consts since `bokeh_version` is a creation-time prop. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Use certifi CA bundle when downloading offline assets. python.org Python on macOS ships without a usable system CA bundle, so the default SSL context fails to verify TLS when fetching fonts/bokeh assets during the frontend build. Prefer certifi's bundle (already a transitive Gradio dependency) when available. This still performs full certificate verification. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * add changeset * Add offline-support regression tests. Guards the offline contract so future changes fail loudly if they reintroduce a runtime CDN dependency in the default experience: - every built-in theme bundles its fonts locally (no external stylesheet URLs, font CSS points only at static/fonts/) - the app/SPA HTML shells load scripts/stylesheets from /static, not a CDN - the MCP landing page references fonts/scripts locally Intentional CDN *fallbacks* (GoogleFont for user fonts, Bokeh plugins) are not forbidden -- the contract is that the built-in path resolves offline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * changes * changes --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
36f6b4e571 |
upgrade starlette dependency to 1.0.1 or higher (#13430)
* changes * add changeset * changes * changes * changes * fix: resolve starlette>=1.0.1 in CI via per-package exclude-newer exemption The CI install (`uv pip install -e .`) failed with "only starlette<=1.0.0 is available" because the CI action sets UV_EXCLUDE_NEWER="7 days", which overrides pyproject's exclude-newer and excludes starlette 1.0.1 (released just inside the 7-day window boundary). Instead of widening the global window (which loosens pinning for every package), exempt starlette from exclude-newer via the existing exclude-newer-package mechanism, matching the hf-gradio/gradio-client pattern. Reverts the global "5 days" change back to "7 days". Also regenerate test/requirements.txt (Python 3.10): the previous hand-edit removed the fastapi/starlette pins leaving dangling references. fastapi is bumped to 0.136.1 (requires starlette>=0.46.0) so the editable gradio install can upgrade starlette to 1.x; fastapi 0.115.7 capped starlette<0.46. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * test: drop gradio_pdf so the test lock can pin starlette>=1.0.1 The test lock pulled an old gradio (5.x) transitively via gradio_pdf, and every gradio 5.x caps starlette<1.0 — so test/requirements.txt resolved starlette to 0.52.1, contradicting the gradio dependency this PR bumps to starlette>=1.0.1. Remove gradio_pdf entirely (custom-component test surface) and the tests that import it: - test/requirements.in: drop gradio_pdf, add explicit starlette>=1.0.1 - delete test_custom_component_compatibility.py (gradio_pdf-only) - remove the skipped test_load_custom_component in test_external.py - drop the dead `component == PDF` branches in test_components.py (PDF was never in the core io_components fixture anyway) Also pass --exclude-newer-package starlette=false in create_test_requirements.sh: a CLI --exclude-newer overrides pyproject's entire exclude-newer config (including per-package exemptions), so the exemption must be repeated for the lock to see starlette>=1.0.1. test/requirements.txt now pins starlette==1.2.0; gradio's own runtime deps are no longer carried by the lock (they come from the editable install). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|
|
10f43e0fe1 |
Offload traffic to static workers and use node as the proxy (#13366)
* Profile the upload route * add changeset * Fix * Add max_threads + async * add changeset * use decorator for smaller diff * Add static servers * Streaming Proxy * Kill servers * Fix * Add code * better cascading error * use a redirect again * Runner file * Fix code * Disable redirect middleware * profiling-fix * add changeset * Lint * Proxy-to-Node * Addc code * Add code * logging * Remove old code * Refactor * Add code * add changeset * Fix code * Fix * Some formatting * Remove benchmarking * Docs * Add python unit test * Lint + tests * add changeset * exclude * Add code * Fix * Fix close event * remove logger * Fix upload progress * Fix * type check * Fix * Add code * fix max file size * Fix * revert * trigger ci * Fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
d7c4cadd8f | fix(e2e): plug gradio-app leaks in playwright test harness (#13348) | ||
|
|
8b47ccbf16 |
Skills Reorg + sync to huggingface/skills (#13265)
* Add code * add changeset * Fix code * Fix code * Fix skills * Fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
a1cbf32a3b |
Vendor in / pin Gradio dependencies and use exclude-newer flag in our CI (#13202)
* changes * add changeset * changes * add changeset * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * Use relative uv exclude-newer and bump CI uv * changes * changes * Force CI uv upgrade before use * Revert "Force CI uv upgrade before use" This reverts commit be9e0876d6de7bb096e0668ae241e78b3228aad2. --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
05d6460a6a | remove .bak.json file (#13188) | ||
|
|
a8e0cc66b0 | Run Pre/Post processing for components in a separate thread (#13168) | ||
|
|
835e4bd1ad |
Reduce load times of all components (#13041)
* lazy load info * add changeset * add changeset * fix cache * test fix * check file exists * inline markdown utility * format * fixes * fix profiling * add changeset * add changeset * median time --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> |
||
|
|
dbbff5fb50 | changes (#13186) | ||
|
|
beb4b7f212 |
Cancel HEARTBEAT Task (#13164)
* Cancel HEARTBEAT Task * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
b372228516 |
Avoid Polling in SSE Route To Reduce Overhead (#13046)
* Add implementation * add changeset * Add profiling.py * remove unused function * lint * Avoid Polling in SSE Route To Reduce Overhead * Fix flaky playwright tests (#13049) * Add code * Add code * add changeset * empty * revert * Fix storage * add changeset * Try this * trigger ci * trigger-ci --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * fix: gradio_api path in mount_gradio_app (#12803) * fix: gradio_api path in mount_gradio_app * Update js/core/src/init.svelte.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: add get_api_url unit test --------- Co-authored-by: Zhang Xiaodong <zhangxiaodong1@sensetime.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> * Add `watch` function to gr.HTML js_on_load (#12988) * changes * changes * add changeset * 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: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> * Custom libraries in head of gr.HTML (#12990) * changes * changes * add changeset * changes * changes * changes * changes * changes * changes * changes * changes * add changeset --------- Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> * Modify API Visibility Docs (#13119) * Modify API Visibility Docs * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Gradio Server Mode (#13117) * changes * add changeset * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * add changeset * Update run.py * changes * changes * changes * changes * changes * changes * changes * changes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * Backend Profiling: Ability to trace the server and benchmark scripts (#13032) * Add implementation * add changeset * Add profiling.py * remove unused function * lint * Add realistic apps --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> * add changeset * add changeset * trigger ci * Add code * Use round-level timeout * Finish remote runner * chore: empty commit --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: shandowc <10107022+shandowc@users.noreply.github.com> Co-authored-by: Zhang Xiaodong <zhangxiaodong1@sensetime.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: aliabid94 <aabid94@gmail.com> Co-authored-by: Ali Abid <aliabid94@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: Abubakar Abid <islamrealm@gmail.com> |
||
|
|
0607b2d888 | Fix json formatting (#13124) | ||
|
|
e900202946 |
Backend Profiling: Ability to trace the server and benchmark scripts (#13032)
* Add implementation * add changeset * Add profiling.py * remove unused function * lint * Add realistic apps --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
a35f5896e4 |
Gradio Prediction CLI Commands (#13045)
* Prediction CLI * add changeset * Fix unit tests * Fix skill + unit tests * Allow download_files' --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
647511a336 |
Frontend Profiling CI (#12938)
* profiling first pass * update workflow * clean * test fixes * fix * more updates * update job * format * update workflow * cleanup * print results * update workflow * new demo + test fixes * format * workflow fix * fix tests * notebook fix * workflow fix * nb fix * test * format * import * add warmup iteration * install pnpm on cache hit --------- Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> |
||
|
|
b51dc758fd |
add custom_css param to theme class (#12871)
* add custom css param to themeclass * add changeset * add gradio version * add documentation * fix app.py used by push to hub * add changeset * - check minor instead of patch - add test * lint * add css var reference and generation script * tweak custom_css example --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
673feb4cf2 |
Fix website local font paths and font-weight CSS (#12966)
* fix font weight * fix font path for website * add changeset * add changeset * update stale theme.css --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> |
||
|
|
d6907acf8b |
add SKILLS.md to Gradio repo, part 1 + cleanup (#12900)
* add SKILLS * changes * add changeset * changes * changes * changes * add changeset * add changeset * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * changes * add changeset * changes --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
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
|
||
|
|
4a8ee367fa |
Sync JS Files to Hub (#12387)
* Sync JS Files to Hub * Revert * Fix * trigger ci * Fix * add changeset * Fix --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
3b15f6370b | ensure spaces iframe resizes when images load (#11919) | ||
|
|
3f8ea13a8c | remove lite (#11858) | ||
|
|
35003211e4 | Fix (#11737) | ||
|
|
8fd8ccdd63 |
Switch from pyright to ty (#11731)
* changes * Update scripts/type_check_backend.bat * Update pyproject.toml * changes * changes * notebooks * changes * notebooks * add changeset * more ignores * remaining * fix context * lint * more fixes * fix * try again * scripts --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
3af93b6fc3 | fix (#11679) | ||
|
|
caf6bdb52e |
Create and Upload Docs JSON for HF Search (#11583)
* changes * docs upload * guides upload * CI action * create new environment for secret * formatting |
||
|
|
c207de96f8 |
Build the Gradio wheel for Lite before packaging (#11157)
* Build the Gradio wheel for Lite with the 'pyodide py-compile' command before packaging * add changeset * Call the pyodide py-compile command from a hatch build hook * Install pyodide-build in CI * [TMP] Run install_deps step on this branch * Fix npm command * Revert "[TMP] Run install_deps step on this branch" This reverts commit 9d4e7e499cf09b10124da3fb5c095ddcfbfa9c8e. --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
49492dd2fc | Fix subroutine in Windows batch scripts (#10610) | ||
|
|
3465fdb190 |
Format backend with latest ruff (#10470)
* format * add changeset * more ruff * changes * update --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
324383fb81 |
Fix typecheck error due to huggingface_hub update (#10460)
* fix typecheck * add changeset * fix test * fix * fix * fix * matplotlib --------- Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
2b23e7f7a5 |
Fix deployed Spaces (#10271)
* changes * Revert "Revert "changes"" This reverts commit 32bed0d5d0dd5c404cae6a29a81aa1cfeaedae60. * improve styling * changes * one more try |
||
|
|
f3bedd4011 |
add gr.Success and update windows contributing (#10262)
* include windows contributions * add gr.Success * add changeset * contributing * changes * clean docstring * format * fix typo --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
d5ae3a0049 |
Update devcontainers (#10146)
* change * update * update |
||
|
|
213b038e36 | changes (#9947) | ||
|
|
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 |
||
|
|
f61d7024d9 |
chunk space uploads (#9360)
* chunk space uploads * Update upload_demo_to_space.py Co-authored-by: Lucain <lucainp@gmail.com> * address comments + tweak CI --------- Co-authored-by: Lucain <lucainp@gmail.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> |
||
|
|
8a3e1e289e |
Add more demos to deploy scripts (#9127)
* add demos * tweak demo |
||
|
|
efdc3231a7 |
Initial SSR refactor (#9102)
* changes * asd * fix tests * fix lint * fix ts * fix ts * cleanup * cleanup * fix * Apply suggestions from code review Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com> * fix * add changeset * fix gitignore * fix changeset * fix lockfile * format * fix * add changeset * githunore * kit bopilerplate * add changeset * fix website * add changeset --------- Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |
||
|
|
df770608fc |
pnpm link deprecated (#8886)
Appears that the given pnpm like no longer exists. Suggesting a more generic one. |
||
|
|
76c1759350 |
add space header (#8846)
* add space header * format * add changeset * test * fix * fix * fixy * fixy * fix demons * silly me * format * format + fix * fix test --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co> |
||
|
|
8aad678a63 |
Fix plotly version (#8606)
* Unpin plotly * Fix plotly version deployed space for PRs |
||
|
|
81ae7663b3 |
Many small fixes to website and docs (#8537)
* change banner * replace Sequence with list * fix capitilization issues in nav * fix demo for gr.Examples * show respective install from main commands for clients * only upload versioned demos on a new version release * formatting * add changeset * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> |