Closed freddyaboulton closed 1 month ago
• | Name | Status | URL |
---|---|---|---|
Spaces | ready! | Spaces preview | |
Website | failed! | Details | |
:unicorn: | Changes | detected! | Details |
Install Gradio from this PR
pip install https://gradio-builds.s3.amazonaws.com/4843c4e586c96707acb1dc6606e711e91d0fcfed/gradio-4.31.5-py3-none-any.whl
Install Gradio Python Client from this PR
pip install "gradio-client @ git+https://github.com/gradio-app/gradio@4843c4e586c96707acb1dc6606e711e91d0fcfed#subdirectory=client/python"
Install Gradio JS Client from this PR
npm install https://gradio-builds.s3.amazonaws.com/4843c4e586c96707acb1dc6606e711e91d0fcfed/gradio-client-0.19.4.tgz
Package | Version |
---|---|
@gradio/client |
minor |
gradio |
minor |
Connect heartbeat if state created in render. Also fix config cleanup bug
Maintainers or the PR author can modify the PR title to modify this entry.
Description
Noticed a bug where the heartbeat was not established if a state variable was created in a render. In the process of fixing that, I noticed that components were not being removed from the old config. The
rendered_in
key is inprops
, not the top level component config.🎯 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.
Tests
PRs will only be merged if tests pass on CI. To run the tests locally, please set up your Gradio environment locally and run the tests:
bash scripts/run_all_tests.sh
You may need to run the linters:
bash scripts/format_backend.sh
andbash scripts/format_frontend.sh