mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +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 fallback
|
||||
|
||||
core_components = core_gradio_components()
|
||||
core_components = [get_block_name(c) for c in core_gradio_components()]
|
||||
|
||||
additional_data = {
|
||||
"version": get_package_version(),
|
||||
|
Loading…
Reference in New Issue
Block a user