Examples using panel SpeechToText with ChatInterface?

Hi there,

Just wondering if there are any example of using SpeechToText with ChatInterface?

Might be nice to add something like a show_speech button to the styling options: ChatInterface ā€” Panel v1.3.6

Many thanks for any help!

Not that Iā€™m aware of.

Iā€™d recommend using button_properties to add additional buttons and callbacks:
https://panel.holoviz.org/reference/chat/ChatInterface.html

Then in the callback, use speech_recognition
https://pythonbasics.org/transcribe-audio/#Transcribe

1 Like