Skip to content

Speech to Text / Voice control for Chat #576

Answered by richard-to
gamesbyjames asked this question in Q&A
Discussion options

You must be logged in to vote

We currently don't have a voice control. But I think you can create a voice control using the web components feature.

You can also use this closed Pull Request as a guide -> #290. This example is using the core component approach, so you'd need to modify it for web components structure (https://google.github.io/mesop/web_components/)

Once you have the speech to text / voice control created, you can copy https://github.com/google/mesop/blob/main/mesop/labs/chat.py to your own chat.py. From there you can add your voice control to your custom chat.py file.

Overall, it's not trivial, but definitely possible.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by richard-to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants