lyrics-transcriber 0.14.0__tar.gz → 0.15.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/PKG-INFO +2 -1
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/transcriber.py +1 -1
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/pyproject.toml +2 -1
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/LICENSE +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/README.md +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/__init__.py +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/README.md +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/llm_prompt_lyrics_correction_andrew_handwritten_20231118.txt +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/llm_prompt_lyrics_correction_gpt_optimised_20231119.txt +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/llm_prompt_lyrics_matching_andrew_handwritten_20231118.txt +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/promptfooconfig.yaml +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/test_data/ABBA-UnderAttack-Genius.txt +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/utils/__init__.py +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/utils/ass.py +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/utils/cli.py +0 -0
- {lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/utils/subtitles.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lyrics-transcriber
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.15.0
|
4
4
|
Summary: Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify
|
5
5
|
Home-page: https://github.com/karaokenerds/python-lyrics-transcriber
|
6
6
|
License: MIT
|
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
16
16
|
Requires-Dist: Cython (>=0)
|
17
|
+
Requires-Dist: auditok (>=0.2)
|
17
18
|
Requires-Dist: dtw-python (>=1)
|
18
19
|
Requires-Dist: llvmlite (>=0)
|
19
20
|
Requires-Dist: lyricsgenius (>=3)
|
@@ -786,7 +786,7 @@ class LyricsTranscriber:
|
|
786
786
|
self.logger.debug(f"no cached transcription file found, running whisper transcribe with model: {self.transcription_model}")
|
787
787
|
audio = whisper.load_audio(self.audio_filepath)
|
788
788
|
model = whisper.load_model(self.transcription_model, device="cpu")
|
789
|
-
result = whisper.transcribe(model, audio, language="en")
|
789
|
+
result = whisper.transcribe(model, audio, language="en", vad="auditok", beam_size=5, temperature=0.2, best_of=5)
|
790
790
|
|
791
791
|
self.logger.debug(f"transcription complete, performing post-processing cleanup")
|
792
792
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "lyrics-transcriber"
|
3
|
-
version = "0.
|
3
|
+
version = "0.15.0"
|
4
4
|
description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify"
|
5
5
|
authors = ["Andrew Beveridge <andrew@beveridge.uk>"]
|
6
6
|
license = "MIT"
|
@@ -28,6 +28,7 @@ syrics = ">=0"
|
|
28
28
|
openai = "^1"
|
29
29
|
openai-whisper = ">=20231117"
|
30
30
|
transformers = ">=4"
|
31
|
+
auditok = ">=0.2"
|
31
32
|
whisper-timestamped = ">=1"
|
32
33
|
# Note: after adding openai-whisper and whisper-timestamped with poetry lock, I then removed all traces of triton
|
33
34
|
# from poetry.lock before running poetry install, as triton doesn't support macOS but isn't actually needed for whisper.
|
File without changes
|
File without changes
|
File without changes
|
{lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/llm_prompts/README.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/utils/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{lyrics_transcriber-0.14.0 → lyrics_transcriber-0.15.0}/lyrics_transcriber/utils/subtitles.py
RENAMED
File without changes
|