Voice Chat interface to ChatGPT in Streamlit
This app is largely based on code by Yeyu Huang published in an article in Level Up Coding with some changes to fix dependency issues, use secrets.toml, and autoplay audio response.
To get bokeh stream events and bokeh to both be happy at once, I had to downgroade bokeh Python package.
I also replaced the recording icon with https://commons.wikimedia.org/wiki/File:Mic-Animation.gif
Credit to: Moughamir, CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0, via Wikimedia Commons
You can try the app on Streamlit Community Cloud at https://voicegptdemo.streamlit.app/