nomadkaraoke / python-lyrics-transcriber

Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify, using LLMs / GPT-4 to correct transcribed lyrics
MIT License
29 stars 6 forks source link

Fix issues running from pip install #8

Closed ItMightBeKaraoke closed 2 months ago

ItMightBeKaraoke commented 2 months ago

I don't have openai credits to fully test, but to reproduce the issue:

python3 -m venv venv
. venv/bin/activate # or activation script of choice
pip install lyrics-transcriber
lyrics-transcriber # ModuleNotFoundError: No module named 'pkg_resources'
pip install setuptools
lyrics-transcriber --artist ARTIST --title TITLE FILE # No such file or directory: 'lyrics_transcriber/llm_prompts/llm_prompt_lyrics_matching_andrew_handwritten_20231118.txt'