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

Chatbot bubble and show_copy disappeared on 4.37.1 #8647

Closed
1 task done
surak opened this issue Jun 27, 2024 · 3 comments · Fixed by #8655
Closed
1 task done

Chatbot bubble and show_copy disappeared on 4.37.1 #8647

surak opened this issue Jun 27, 2024 · 3 comments · Fixed by #8655
Assignees
Labels
bug Something isn't working 💬 Chatbot Related to the Chatbot component Priority High priority issues Regression Bugs did not exist in previous versions of Gradio

Comments

@surak
Copy link

surak commented Jun 27, 2024

Describe the bug

The bubble around the system's answer and the copy button have disappeared between 4.36.1 and 4.37.1. See screenshots below:

This is 4.37.1

Screenshot 2024-06-27 at 18 33 10

And this is 4.36.1 - no other changes (other than the dependencies of gradio itself)

Screenshot 2024-06-27 at 18 35 20

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

    chatbot = gr.Chatbot(
        elem_id="chatbot",
        label="This is what I have to say.... ",
        visible=True,
        height=300,
        scale=2,
        show_copy_button=True,
    )

Screenshot

No response

Logs

No response

System Info

Python 3.11.8
Gradio 4.37.1 or 4.36.1 (works)

Severity

Blocking usage of gradio

@surak surak added the bug Something isn't working label Jun 27, 2024
@abidlabs abidlabs added 💬 Chatbot Related to the Chatbot component Regression Bugs did not exist in previous versions of Gradio Priority High priority issues labels Jun 27, 2024
@abidlabs
Copy link
Member

Thanks @surak! We redesigned the gr.Chatbot to remove the bubble around the bot message to make longer bot messages easier to read but losing the copy buttons was not intentional! We'll work on getting this fixed

@abidlabs
Copy link
Member

abidlabs commented Jun 27, 2024

@hannahblair or @dawoodkhan82 do you have bandwidth to take a look? We can position the copy button to be in the same place as our other buttons now:

image

@surak
Copy link
Author

surak commented Jun 28, 2024

Hi @abidlabs , removing the bubble by default is weird, as the questions are still within one. I made an a/b test with my users (30 people), and all of them either

  • complained that the website was not loading correctly (because it feels like it didn’t load the bubble), or
  • reported that it looked wrong having bubbles for questions but now answers.

Every single one prefers the previous format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 💬 Chatbot Related to the Chatbot component Priority High priority issues Regression Bugs did not exist in previous versions of Gradio
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants