We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Copy event does not work for gr.Chatbot. It does copy the message, but the customized copy event does not run.
import gradio as gr examples = [ {"role": "user", "content": "User message"}, { "role": "assistant", "content": "This is a plain text", }, ] def copy_event(): gr.Info("copied!") with gr.Blocks() as demo: chatbot = gr.Chatbot( type="messages", show_copy_button=True, ) demo.load(lambda: examples, None, chatbot) chatbot.copy(copy_event, None, None) demo.launch()
No response
Gradio==5.10.0 Python==3.10.14
I can work around it
The text was updated successfully, but these errors were encountered:
It works for me @tankgit, although I notice a separate issue around z-index:
Sorry, something went wrong.
Can you try on a reproducible environment like a Google Colab? If it doesn't work for you, please share a link to the Colab
No branches or pull requests
Describe the bug
Copy event does not work for gr.Chatbot.
It does copy the message, but the customized copy event does not run.
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: