Home / Companies / Deepgram / Blog / Post Details
Content Deep Dive

Live Transcription With Python and Quart

Blog post from Deepgram

Post Details
Company
Date Published
Author
Tonya Sims
Word Count
1,321
Language
English
Hacker News Points
-
Summary

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.