Real-time audio transcription. Runs OpenAI's Whisper locally.
Project description
Live Transcribe
Live Transcribe is a Python package that provides live, real-time transcription based on OpenAI's Whisper. Works offline.
Currently, Live Transcribe supports only PulseAudio as an audio backend.
Installation
- optional but highly recommended for low latency Refer to the Pytorch documentation guide to install Pytorch with CUDA support.
pip install live-transcribe
Usage
Just run:
python -m live_transcribe
or
live_transcribe
If you want to transcribe from another audio device, than the default, use the --device
option, e.g.:
live_transcribe --list-devices
live_transcribe --device "alsa_input.usb-046d_HD_Pro_Webcam_C920_8C0B5B0F-02.analog-stereo
On the first usage, the OpenAI's Whisper model will be downloaded and cached.
See live_transcribe --help
for options.
Dependencies
Live Transcribe has the following dependencies:
Python 3.8 or higher
OpenAI-Whisper
PulseAudio
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
live-transcribe-0.1.2.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for live_transcribe-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b1e565dbaade2ed9277b5d37c8c964bb2a4c34ee1d350f84a2f1470b3e70b6 |
|
MD5 | b028c721c0bf9a1b1219c31ee483aadc |
|
BLAKE2b-256 | 15d1f91aac85309b473efb7a9f46096303bd9924d9c772e9422983d785165a4d |