You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to display the images in chat format. I am trying to display the image with message(st.session_state["generated"][i], key=str(i), avatar_style="thumbs") but its displaying the error.
The text was updated successfully, but these errors were encountered:
Combined with streamlit static serving and latest version of streamlit-chat (supporting html & markdown), it is now possible
fromstreamlit_chatimportmessage# local image stored in the static folder, see static file serving (advanced features, streamlit)message('![cat image](/app/static/cat.jpg)')
Is there any way to display the images in chat format. I am trying to display the image with
message(st.session_state["generated"][i], key=str(i), avatar_style="thumbs")
but its displaying the error.The text was updated successfully, but these errors were encountered: