-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ChatBot component with layout="panel' shows chat bubbles and user utterance not left-aligned #8903
Comments
We should think about whether we want to keep |
Probably not related to this issue, but I just noticed in the environment info: |
Having the same issue. I've rolled back to Gradio 4.35.0 to get the "old" behaviour of panel displaying all text left-aligned. |
Could you explain why you prefer the panels layout (the original one)? Is it one specific thing or should does it behave better for certain use-cases or do you just prefer the overall more 'chatgpt' style layout? (this comment is unrelated to this issue which is a regression and will be fixed) |
Our use case is a corporate QA RAG system, which is not really meant to be conversational although the answers is of course in natural language. In this sense, the panel layout, without the speech bubbles, just felt more 'down-to-business' without the 'unnecessary' visual elements of speech bubbles and thus more professional. In my opinion it also feels more trustworthy, although it's exactly the same answers. |
That is very interesting, thank you! |
If I may ask, what sort of timelines are we talking here - days/weeks/longer ? |
I further picked up that there is an additional div tag around the chatbot elements on the layout="panel" scenario This is also unwanted in the panel case I think. |
The property "bubble_full_width=True" is also not being honored; the bubbles displayed (despite the 'panel' setting) are always set to the width of the text, as observed in gradio version 4.42.0. |
Closed via #9499 |
I don't think is still fixed - #8903 (comment)
|
@arunabh98 would you be able to create a new issue with a repro? |
Describe the bug
When a gr.Chatbot(layout="panel") is created, it does not look like in a previous version.
Mainly, the user's utterance is right aligned, AND both utterances are in a bubble. Previously there was no bubble and all text was left-aligned. So the 'panel' layout was well-distinquished from the 'bubble' layout and worked well for LLM chats, especially on wide screens.
Previous version = 4.32.2 (conda-forge)
Curent version = 4.39.0 (conda-forge)
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: