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.3.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.3-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: transcribetools-0.5.3.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.3.tar.gz
Algorithm Hash digest
SHA256 0be335757e4eeaa2c3305936de1f42217b5521f27f7b9ffa399cbc561666e276
MD5 de0ffd4ca82d79b5651fedad20d73ca0
BLAKE2b-256 3f96acebce8836e3a66494a3901eb66bacda738f85c7431837fcd27427ae1f50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for transcribetools-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a7c6e0578580454d7b71396dd67cacc01806c811bb1adf244e12b715a9f9b649
MD5 6cf44410c00a4378d1f3f2579e5e43b0
BLAKE2b-256 6cdd026a778a15cbc8096d7c4d6e9e8141a1c844ea3949b097809d466d076648

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