Skip to content

Reduce gradio package size by restoring frontend settings#13239

Merged
abidlabs merged 5 commits intomainfrom
config
Apr 9, 2026
Merged

Reduce gradio package size by restoring frontend settings#13239
abidlabs merged 5 commits intomainfrom
config

Conversation

@abidlabs
Copy link
Copy Markdown
Member

@abidlabs abidlabs commented Apr 9, 2026

This restores the frontend build settings that reduced Gradio package size in #12391, which were later reverted in #12879. Should reduce the built wheel from about 36 MB to about 20 MB

@gradio-pr-bot
Copy link
Copy Markdown
Collaborator

gradio-pr-bot commented Apr 9, 2026

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Storybook ready! Storybook preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://huggingface.co/buckets/gradio/pypi-previews/resolve/1e196f559b3b080bd1a3b59955c0b6d9c3607b97/gradio-6.11.0-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@1e196f559b3b080bd1a3b59955c0b6d9c3607b97#subdirectory=client/python"

Install Gradio JS Client from this PR

npm install https://gradio-npm-previews.s3.amazonaws.com/1e196f559b3b080bd1a3b59955c0b6d9c3607b97/gradio-client-2.1.0.tgz

@gradio-pr-bot
Copy link
Copy Markdown
Collaborator

gradio-pr-bot commented Apr 9, 2026

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@self/app patch
@self/spa patch
gradio patch

  • Reduce gradio package size by restoring frontend settings

‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@abidlabs abidlabs marked this pull request as ready for review April 9, 2026 20:20
@abidlabs abidlabs requested review from freddyaboulton and pngwn April 9, 2026 20:20
@freddyaboulton freddyaboulton added the v: patch A change that requires a patch release label Apr 9, 2026
@freddyaboulton freddyaboulton added the t: fix A change that implements a fix label Apr 9, 2026
Copy link
Copy Markdown
Collaborator

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @abidlabs !

@abidlabs abidlabs merged commit 9efdcb5 into main Apr 9, 2026
23 of 24 checks passed
@abidlabs abidlabs deleted the config branch April 9, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t: fix A change that implements a fix v: patch A change that requires a patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants