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
28 stars 6 forks source link

cannot correct song lyrics without artist and title to fetch lyrics #10

Closed Hwangkop closed 1 month ago

Hwangkop commented 1 month ago

I saw in the usage example that

transcriber = LyricsTranscriber(audio_filepath='path_to_audio.mp3')
result_metadata = transcriber.generate()

But when I used it like this, an exception was thrown

Exception: cannot correct song lyrics without artist and title to fetch lyrics

Does it currently not support inputting local songs like those generated by suno and generating lyrics files?

beveradb commented 1 month ago

Hey, sorry for the slow reply - try the newest version, I think I probably fixed that in v0.16.3 or newer!