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
Hi, thanks for your great work. When I click the button "Paste an image", the following bug always occurs. Do you know why? Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I'm experiencing the same error message. I hope someone can help here.
Sorry, something went wrong.
same error message, with win10+Chrome+streamlit[Version 1.36.0]
Hi Zixu,
I hope this helps:
i took https://github.com/streamlit/streamlit-example
Then added:
`from streamlit_paste_button import paste_image_button as pbutton ... paste_result = pbutton("paste image", text_color="#1c2c5e", background_color="#fafcfd", hover_background_color="#deefff", errors="raise")
if paste_result.image_data is not None: image_data = paste_result.image_data.tobytes() image_hash = hashlib.md5(image_data).hexdigest()`
This only works in https sessions due to browser security reasons.
Firefox users may need to modify the asyncClipboard in the about:config. Please take this with a grain of salt.
No branches or pull requests
Hi, thanks for your great work. When I click the button "Paste an image", the following bug always occurs. Do you know why? Thank you.
The text was updated successfully, but these errors were encountered: