I want to create an app where the chatbot can output images which are displayed in the chat thread. Is this possible?
Hi @robmarkcole,
Thanks for posting!
Do you have example code to share? You can insert any element into the chat expander like so:
import streamlit as st
with st.chat_message("user"):
st.write("Hello π")
st.image('sunrise.jpg', caption='Sunrise by the mountains')