Skip to content
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

gradio 5.3.0 has a frozen UI #9832

Open
1 task done
rsxdalv opened this issue Oct 24, 2024 · 2 comments
Open
1 task done

gradio 5.3.0 has a frozen UI #9832

rsxdalv opened this issue Oct 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@rsxdalv
Copy link

rsxdalv commented Oct 24, 2024

Describe the bug

(Blocking for 5.3.0, using 5.1.0 for now)
Upgrading project from 5.1.0 to 5.3.0 makes the whole UI frozen. However, the API still works.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

Screenshot

image

Logs

Uncaught (in promise) TypeError: IntersectionObserver.observe: Argument 1 is not an object.
    xe Tabs.svelte:54
    run svelte.js:41
    mount_component svelte.js:3182
    flush svelte.js:2141

System Info

Gradio Environment Information:
------------------------------
Operating System: Windows
gradio version: 5.3.0
gradio_client version: 1.4.2

------------------------------------------------
gradio dependencies in your environment:

aiofiles: 23.2.1
anyio: 4.4.0
fastapi: 0.115.3
ffmpy: 0.3.2
gradio-client==1.4.2 is not installed.
httpx: 0.27.0
huggingface-hub: 0.25.2
jinja2: 3.1.4
markupsafe: 2.1.3
numpy: 1.26.4
orjson: 3.10.6
packaging: 24.1
pandas: 2.0.2
pillow: 10.3.0
pydantic: 2.8.2
pydub: 0.25.1
python-multipart: 0.0.9
pyyaml: 6.0.1
ruff: 0.6.1
semantic-version: 2.10.0
starlette: 0.41.0
tomlkit==0.12.0 is not installed.
typer: 0.12.3
typing-extensions: 4.11.0
urllib3: 2.2.2
uvicorn: 0.30.1
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.


gradio_client dependencies in your environment:

fsspec: 2024.6.1
httpx: 0.27.0
huggingface-hub: 0.25.2
packaging: 24.1
typing-extensions: 4.11.0
websockets: 11.0.3

Severity

Blocking usage of gradio

@rsxdalv rsxdalv added the bug Something isn't working label Oct 24, 2024
@hannahblair
Copy link
Collaborator

Hm, seems like we've got another tabs issue. cc @pngwn

@rsxdalv
Copy link
Author

rsxdalv commented Nov 11, 2024

Retested with 5.5.0 and it remains broken. The current error is:

Tabs.svelte:54 Uncaught (in promise) TypeError: Failed to execute 'observe' on 'IntersectionObserver': parameter 1 is not of type 'Element'.
    at Tabs.svelte:54:12
    at run (svelte.js:41:9)
    at Array.map (<anonymous>)
    at svelte.js:3182:48
    at flush (svelte.js:2141:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants