Text-to-speech/speech-to-text

You could definitely work out how to record the audio on the client and then send that to a server module, then handle the speech recognition in python

You might find this related post useful

Here is a small example that takes the example script from MDN
and makes it python/anvil using https://anvil.works/docs/client/javascript
(It only works on Chrome)

DzK7Hg9FIT