-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In Gradio 5 MultimodalTextbox looked like this:
without files:
In Gradio 6 it looks like this:
without files:
The underlying HTML has been moved from 2 seperate div's to 1 singular div which takes up more screen real-estate than needed when the user hasnt uploaded any files yet. Please fix this behaviour.
Have you searched existing issues? 🔎
- I have searched and found no existing issues
Reproduction
import gradio as gr
FILE_EXTENSION_WHITELIST=[
".jpg",
".png",
".jpeg",
]
gr.MultimodalTextbox(
container=False,
show_label=False,
scale=6,
placeholder="placeholder",
submit_btn=False,
sources="upload",
file_count="multiple",
max_plain_text_length=10_000,
elem_id="textbox",
file_types=FILE_EXTENSION_WHITELIST,
value=ask_question_default_value,
)
Screenshot
No response
Logs
System Info
Gradio Environment Information:
------------------------------
Operating System: Darwin
gradio version: 6.0.2
gradio_client version: 2.0.1
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 24.1.0
anyio: 4.12.0
audioop-lts: 0.2.2
brotli: 1.2.0
fastapi: 0.123.9
ffmpy: 1.0.0
gradio-client: 2.0.1
groovy: 0.1.2
httpx: 0.28.1
huggingface-hub: 1.1.7
jinja2: 3.1.6
markupsafe: 3.0.3
numpy: 2.3.5
orjson: 3.11.4
packaging: 25.0
pandas: 2.3.3
pillow: 12.0.0
pydantic: 2.12.4
pydub: 0.25.1
python-multipart: 0.0.20
pyyaml: 6.0.3
safehttpx: 0.1.7
semantic-version: 2.10.0
starlette: 0.50.0
tomlkit: 0.13.3
typer: 0.20.0
typing-extensions: 4.15.0
uvicorn: 0.38.0
mcp is not installed.
pydantic: 2.12.4
authlib is not installed.
itsdangerous: 2.2.0
gradio_client dependencies in your environment:
fsspec: 2025.12.0
httpx: 0.28.1
huggingface-hub: 1.1.7
packaging: 25.0
typing-extensions: 4.15.0Severity
I can work around it
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

