Live Transcription With Python and Quart
Blog post from Deepgram
In this tutorial, we learn how to create a live speech-to-text transcription application using Python and Quart, an asynchronous microframework for building web applications. We also use Deepgram's AI speech recognition capabilities to transcribe real-time audio. The final code for the project is available on Github. To get started, we need to generate a Deepgram API key and install necessary dependencies such as Quart, Deepgram Python SDK, and dotenv library. We then create a basic Quart application with an HTML page and set up WebSocket connections between the server and browser, as well as between the server and Deepgram for real-time audio transcription. The final result is a live voice-to-text transcription project that can be run on localhost.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 5 | 1,262 | 387 | 113 | +28% |
| Serverless | 1 | 585 | 126 | 56 | -21% |