Skip to main content

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

  1. optional but highly recommended for low latency Refer to the Pytorch documentation guide to install Pytorch with CUDA support.
  2. 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


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 details)

Uploaded Source

Built Distribution

live_transcribe-0.1.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file live-transcribe-0.1.2.tar.gz.

File metadata

  • Download URL: live-transcribe-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.6 Linux/5.15.0-60-generic

File hashes

Hashes for live-transcribe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 037a44b8b169a4f3dba06744a1c4dc98985fd50d9a1ec70153b019fbed47d82e
MD5 79c36d6bb3cca16f858a92acc2de1d7b
BLAKE2b-256 9fd41468202f60027247455424f1aada2d45d9493c0a861b12be4153aa545abb

See more details on using hashes here.

File details

Details for the file live_transcribe-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: live_transcribe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.6 Linux/5.15.0-60-generic

File hashes

Hashes for live_transcribe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39b1e565dbaade2ed9277b5d37c8c964bb2a4c34ee1d350f84a2f1470b3e70b6
MD5 b028c721c0bf9a1b1219c31ee483aadc
BLAKE2b-256 15d1f91aac85309b473efb7a9f46096303bd9924d9c772e9422983d785165a4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page