/plushcap/analysis/deepgram/live-transcription-quart

Live Transcription With Python and Quart

What's this blog post about?

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.

Company
Deepgram

Date published
March 8, 2022

Author(s)
Tonya Sims

Word count
1321

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.