Hi all,
I am looking to display some metadata about the user input within chat_message under the text. Below is an example:
I am able to do so using below code snippet. However, when next user input is received, the formatting in the previous message fades away. Check the second screenshot below.
with st.chat_message("user"):
st.write(user_input)
st.text(usage_message)