Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 555 Bytes

File metadata and controls

34 lines (24 loc) · 555 Bytes

whispering-python

Python script to transcribe speech to text using OpenAI's transcription API.

Setup

Clone the repository

git clone https://github.com/jnjacobson/whispering-python.git

Add your OpenAI API key

Clone the .env.dist file to .env and add your OpenAI API key.

cp .env.dist .env

Install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

Install system dependencies

sudo apt install libportaudio2 ffmpeg python3-tk python3-dev

Usage

uv run main.py