How to chage the streamlit_chat message profile photo

Summary

how to chage the streamlit_chat message profile photo.
message(“hello world”, is_user=False, key=‘user’) the is_user set the profile bmp is what I want to chage to mine photo. How can I make it happen.

Unfortunately, that is not supported by the streamlit-chat package currently. You can look at this issue Would love the ability to pass in image-url for avatars ¡ Issue #14 ¡ AI-Yash/st-chat ¡ GitHub for example, and see that this has been requested before. Someone would have to create a custom version of this component to enable you to pass an image for the profile picture.

thanks for your reply. :heart:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.