Skip to content

Clarify documentation on cache_examples defaults #10871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2025

Conversation

edmcman
Copy link
Contributor

@edmcman edmcman commented Mar 24, 2025

Description

Clarify documentation of gr.Interface's cache_examples option.

Closes: #10867

🎯 PRs Should Target Issues

Before your create a PR, please check to see if there is an existing issue for this change. If not, please create an issue before you create this PR, unless the fix is very small.

Not adhering to this guideline will result in the PR being closed.

Testing and Formatting Your Code

  1. PRs will only be merged if tests pass on CI. We recommend at least running the backend tests locally, please set up your Gradio environment locally and run the backed tests: bash scripts/run_backend_tests.sh

  2. Please run these bash scripts to automatically format your code: bash scripts/format_backend.sh, and (if you made any changes to non-Python files) bash scripts/format_frontend.sh

@abidlabs
Copy link
Member

Thanks @edmcman!

@abidlabs abidlabs merged commit fc23290 into gradio-app:main Mar 24, 2025
11 checks passed
@gradio-pr-bot
Copy link
Collaborator

gradio-pr-bot commented Mar 24, 2025

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview

Install Gradio from this PR

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

Install Gradio Python Client from this PR

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

Install Gradio JS Client from this PR

npm install https://gradio-npm-previews.s3.amazonaws.com/d3788748495c9488eaed8f05cad10c64fb866ab3/gradio-client-1.14.0.tgz

Use Lite from this PR

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation for gr.Interface cache_examples is incorrect
3 participants