Get your free speechtotext API token
https://www.assemblyai.com/?utm_sourc...
Transcribing in realtime is a super skill only court reporters can brag about. But luckily, we don’t need to learn how to type fast to get transcriptions of audio quickly. Thanks to Assembly AI’s Streaming SpeechtoText model (previously realtime speech recognition), it is very simple to set up a python script that can listen for audio and turn it to text.
In this video, we will see how to create this script on Python with the help of pyaudio, web sockets and asynchronous functions. The app will have the power to listen to audio input through a microphone and display the transcription in realtime. We will integrate this code into a simple Streamlit application to showcase the realtime speech recognition with a touch of interactivity.
If you’d like to follow along, don’t forget to get your own AssemblyAI API token for free at assemblyai.com
You can find the code from this tutorial in this GitHub repository: https://github.com/misraturp/Realtim...
Find the written form of this tutorial here: https://www.assemblyai.com/blog/real...
AssemblyAI Streaming STT docs: https://www.assemblyai.com/docs/speec...