diff --git a/CHANGELOG.md b/CHANGELOG.md index 7635bd964c..c09a7f47db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,10 @@ No changes to highlight. ## Bug Fixes: -- Use `huggingface_hub` to send telemetry on `interface` and `blocks`; eventaully to replace segment by [@dawoodkhan82](https://github.com/dawoodkhan82) in [PR 3342](https://github.com/gradio-app/gradio/pull/3342) +- Use `huggingface_hub` to send telemetry on `interface` and `blocks`; eventually to replace segment by [@dawoodkhan82](https://github.com/dawoodkhan82) in [PR 3342](https://github.com/gradio-app/gradio/pull/3342) - Ensure load events created by components (randomize for slider, callable values) are never queued unless every is passed by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3391](https://github.com/gradio-app/gradio/pull/3391) - Prevent in-place updates of `generic_update` by shallow copying by [@gitgithan](https://github.com/gitgithan) in [PR 3405](https://github.com/gradio-app/gradio/pull/3405) to fix [#3282](https://github.com/gradio-app/gradio/issues/3282) +- Fix bug caused by not importing `BlockContext` in `utils.py` by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3424](https://github.com/gradio-app/gradio/pull/3424) ## Documentation Changes: - Added a section on security and access when sharing Gradio apps by [@abidlabs](https://github.com/abidlabs) in [PR 3408](https://github.com/gradio-app/gradio/pull/3408) diff --git a/gradio/utils.py b/gradio/utils.py index 182a593a0b..d9b9dde1ee 100644 --- a/gradio/utils.py +++ b/gradio/utils.py @@ -154,6 +154,8 @@ def launched_telemetry(blocks: gradio.Blocks, data: Dict[str, Any]) -> None: [], ) + from gradio.blocks import BlockContext + for x in list(blocks.blocks.values()): blocks_telemetry.append(x.get_block_name()) if isinstance( x, BlockContext