-
Notifications
You must be signed in to change notification settings - Fork 3k
Improve UI for lazy caching #10873
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
Improve UI for lazy caching #10873
Conversation
🪼 branch checks and previews
Install Gradio from this PR pip install https://gradio-pypi-previews.s3.amazonaws.com/38ad2931e0b4361bfa8b255ab64c235c3b62020c/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@38ad2931e0b4361bfa8b255ab64c235c3b62020c#subdirectory=client/python" Install Gradio JS Client from this PR npm install https://gradio-npm-previews.s3.amazonaws.com/38ad2931e0b4361bfa8b255ab64c235c3b62020c/gradio-client-1.14.0.tgz Use Lite from this PR <script type="module" src="https://gradio-lite-previews.s3.amazonaws.com/38ad2931e0b4361bfa8b255ab64c235c3b62020c/dist/lite.js""></script> |
🦄 change detectedThis Pull Request includes changes to the following packages.
With the following changelog entry.
Maintainers or the PR author can modify the PR title to modify this entry.
|
Ok thanks for confirming @hysts! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified + looks good @abidlabs
Thanks folks! |
When examples were cached, we previously combined two events together: loading the input value and loading the output value. For eager caching, this makes sense, but for lazy caching, we should first load the input value (since that's instantaneous) and then load the output value, which can be time-consuming.
Closes: #10866