Skip to content

Rendering of components on Gradio versions above 5.35.0 takes too long #11934

@Politrees

Description

@Politrees

Describe the bug

Recently, I decided to update the Gradio version in my application from 5.23 to 5.45 and encountered the problem of long rendering of pages and components. After that, I decided to check all versions from 5.23 to 5.45 and the last stable version for me was 5.35.0. Above this version, this problem appears, which greatly interferes when you need to quickly launch the interface and do your business there.

Rendering usually takes 2 to 5 seconds.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

Screenshot

Image

Logs

System Info

Google Colab

---

Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 5.46.0
gradio_client version: 1.13.0

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

aiofiles: 24.1.0
anyio: 4.10.0
audioop-lts is not installed.
brotli: 1.1.0
fastapi: 0.116.2
ffmpy: 0.6.1
gradio-client: 1.13.0
groovy: 0.1.2
httpx: 0.28.1
huggingface-hub: 0.35.0
jinja2: 3.1.6
markupsafe: 3.0.2
numpy: 1.26.4
orjson: 3.11.3
packaging: 25.0
pandas: 2.3.2
pillow: 11.3.0
pydantic: 2.11.9
pydub: 0.25.1
python-multipart: 0.0.20
pyyaml: 6.0.2
ruff: 0.13.0
safehttpx: 0.1.6
semantic-version: 2.10.0
starlette: 0.48.0
tomlkit: 0.13.3
typer: 0.17.4
typing-extensions: 4.15.0
uvicorn: 0.35.0
mcp: 1.13.1
pydantic: 2.11.9
authlib: 1.6.3
itsdangerous: 2.2.0


gradio_client dependencies in your environment:

fsspec: 2025.9.0
httpx: 0.28.1
huggingface-hub: 0.35.0
packaging: 25.0
typing-extensions: 4.15.0
websockets: 15.0.1

Severity

I can work around it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions