mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-01 11:45:36 +08:00
Fix custom component detection logic in analytics (#8254)
* Add code * add changeset * revert * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
32d915aad5
commit
0a6f0a7e02
5
.changeset/common-worms-travel.md
Normal file
5
.changeset/common-worms-travel.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"gradio": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
feat:Fix custom component detection logic in analytics
|
@ -224,7 +224,7 @@ def launched_analytics(blocks: gradio.Blocks, data: dict[str, Any]) -> None:
|
|||||||
return [b.get_block_name() for b in components] if components else None
|
return [b.get_block_name() for b in components] if components else None
|
||||||
return fallback
|
return fallback
|
||||||
|
|
||||||
core_components = core_gradio_components()
|
core_components = [get_block_name(c) for c in core_gradio_components()]
|
||||||
|
|
||||||
additional_data = {
|
additional_data = {
|
||||||
"version": get_package_version(),
|
"version": get_package_version(),
|
||||||
|
Loading…
Reference in New Issue
Block a user