Added Chatbot capability with st.chat_input and st.chat_message
Both gradio and streamlit are in my opinion the world leaders in open chatbot technology because of their keen attention on how it integrates with the rest of their libraries.
In 2024 therefore I believe the best option to integrate with the best models out (claude3 opus, gpt-4o, gemini, mixtral moe, canary, whisper) will be used as service agents inside agential chatbot threaded session management and memory interfaces in concert with your local operating system.
This version adds streamlit chatbot to the mix. Also galleries are being updated to persist and show history of modaltieis together to ease IO and reuse of generated assets.
This morning I had the pleasure of seeing users speaking Russian and possibly Arabic as two users actively using the space indicated after history of sidebar was shown giving easy way to pick up results from modality output and chat responses.
Enjoy!~
Aaron