Skip to main content

Transcribe all soundfiles in a folder using Whisper

Project description

LocalWhisper

Introduction

TranscribeTools contains an Python application LocalWhisper which transcribes all sound files in a configurable folder using a local Whisper model. You can choose which Whisper model is to be used

Details

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

Setup

We use uv for managing virtual environments and package installation. Follow these steps to set up the project:

On macOS:

Install uv

On Windows:

Download the setup script

We need to install UV a tool to install the Python environment and to install the tool. There are a few possibilities

  1. Follow instructions at the UV website

  2. Press {Windows button} then type or paste:. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

  3. Use winget

  • Open the Windows Powershell: press {Windows} button and type or paste
winget install --id=astral-sh.uv  -e

These scripts will:

Installs the uv tool. Check if uv {enter} works. At the moment a reboot is needed on Windows. Now we can install the tools.

Install tools

uv tool install transcribetools

Install the (commandline) tools in this project. For now it's only transcribe_folder.

Plans

  • Make it a local service, running in the background
  • Investigate options to let it run on a central computer, as a service
  • Create Docker image
  • Add speaker partitioning (see TranscribeWhisperX)
  • Adjust models using PyTorch (more control)

Documentation about Whisper on the cloud and local

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

transcribetools-0.5.4.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transcribetools-0.5.4-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file transcribetools-0.5.4.tar.gz.

File metadata

  • Download URL: transcribetools-0.5.4.tar.gz
  • Upload date:
  • Size: 4.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.26

File hashes

Hashes for transcribetools-0.5.4.tar.gz
Algorithm Hash digest
SHA256 70e13f4f3c2d360ce906395874b29e0d7deda4c1a823dfe4364be17032d39911
MD5 c58088500c39b2441034fbc4dd6f4080
BLAKE2b-256 97bdacd8e8ac28918761dd0712147ef964b4462087f550d3f72fa3530892fdb3

See more details on using hashes here.

File details

Details for the file transcribetools-0.5.4-py3-none-any.whl.

File metadata

File hashes

Hashes for transcribetools-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee0b71a8d213fa79f46fba33a3b742258ae7d0018035aad07d40e9e2878befd
MD5 3d8d06ac642f25d825848feb536e89ef
BLAKE2b-256 d787c90a3b82726257894b51a86c3560198d16b783f6b1f757a646f9a1629ddb

See more details on using hashes here.

Supported by

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