Skip to content

Conversation

abidlabs
Copy link
Member

@abidlabs abidlabs commented Aug 25, 2025

Adds some docs that are useful for auth and rate limiting.

For rate limiting, I think it's better just to provide an example of how to use Gradio's existing primitives instead of creating a new shallow abstraction, closes: #2517

The auth docs are motivated by this internal thread

@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Aug 25, 2025

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website building...
🦄 Changes failed! Workflow log

Install Gradio from this PR

pip install https://gradio-pypi-previews.s3.amazonaws.com/f504b525375143a0100fae692c553778e7cd1db2/gradio-5.43.1-py3-none-any.whl

Install Gradio Python Client from this PR

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

Install Gradio JS Client from this PR

npm install https://gradio-npm-previews.s3.amazonaws.com/f504b525375143a0100fae692c553778e7cd1db2/gradio-client-1.17.1.tgz

Use Lite from this PR

<script type="module" src="https://gradio-lite-previews.s3.amazonaws.com/f504b525375143a0100fae692c553778e7cd1db2/dist/lite.js""></script>

@abidlabs abidlabs requested a review from aliabd August 25, 2025 19:24
@abidlabs abidlabs marked this pull request as ready for review August 25, 2025 19:24
@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Aug 25, 2025

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
gradio patch

  • Add docs for auth and rate limiting

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

  • Maintainers can approve the changeset by selecting 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 added the v: patch A change that requires a patch release label Aug 25, 2025
Copy link
Collaborator

@aliabd aliabd left a comment

Choose a reason for hiding this comment

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

Left a minor comment but docs look good and the demo works great!

@abidlabs
Copy link
Member Author

Thanks so much @aliabd!

@abidlabs abidlabs merged commit e16e45c into main Aug 25, 2025
19 of 20 checks passed
@abidlabs abidlabs deleted the docs-auth branch August 25, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v: patch A change that requires a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow users to easily set IP-based rate limits
3 participants