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 chatbot image/media are too big but MultimodalTextbox buttons are too small #10472

Open
bigmw opened this issue Jan 30, 2025 · 1 comment
Labels
💬 Chatbot Related to the Chatbot component

Comments

@bigmw
Copy link

bigmw commented Jan 30, 2025

  • [x ] I have searched to see if a similar issue already exists.

Reproduction
I have been working on a multimodal chatbot as described in Gradio Demo: chatbot_multimodal

Is your feature request related to a problem? Please describe.
Problem 1: Gradio chatbot image/media display size is huge. This is not needed, but look cumbersome and leave little room to display text.
As seen in the example, the image and audio displayed in the chatbot bubbles are way bigger than needed. They don’t need to be shown in full size most of the time. You don’t really get much space left for questions and answers in the chatting area. They can be shrunk into a media type logo most of the time, as seen in most other chat apps. They should be clickable, to show the full view (images, currently appear so but no effect when clicking) or play the sound (audio, this already exists). Note similar size problems have been complained by other users but there has not be a good solution.

Problem 2: MultimodalTextbox and the attachment/mic/send buttons on the bottom are small. They shall be customizable in size. But I don’t find a way to do so.

Describe the solution you'd like
We shall have options in gr.chatbot() and gr.MultimodalTextbox() functions to change/modify the size of images/media or button sizes.

Additional context

Image

@abidlabs abidlabs added the 💬 Chatbot Related to the Chatbot component label Jan 30, 2025
@abidlabs
Copy link
Member

abidlabs commented Feb 3, 2025

cc @dawoodkhan82 perhaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬 Chatbot Related to the Chatbot component
Projects
None yet
Development

No branches or pull requests

2 participants