/whisper-lyrics

This tool automatically gets lyrics of songs from audio files using the OpenAI Whisper API.

Primary LanguagePythonMIT LicenseMIT

whisper-lyrics

This tool automatically gets lyrics of songs from audio files using the OpenAI Whisper model or API.

Setup

  1. Switch to either the model or api folder:

    cd model
    
  2. Copy the config file:

    cp config_dist.py config.py
    

    Make sure to modify the config values as appropriate.

  3. Create a virtual environment using venv for example:

    python -m venv .env
    
  4. Install requirements:

    source .env/bin/activate
    pip install -r requirements.txt
    

Running

Run:

python transcribe.py

Help with issues

Contributing

Please fork this repo and make a pull request to either the transcribe or test branch.