Hi,
Does anyone know if I can display chatgpt-like streaming response in Streamlit using streamlit_chat -message?
I need something like message(streaming=True) or any other alternative for this. my code segment is as below:
from streamlit_chat import message
import streamlit as st
for i in range(len(st.session_state['generated']) - 1, -1, -1):
message(st.session_state['past'][i], is_user=True, key=str(i) + '_user')
message(st.session_state["generated"][i], key=str(i))