lyrics-transcriber 0.14.0__py3-none-any.whl → 0.15.0__py3-none-any.whl

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.
@@ -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
  Metadata-Version: 2.1
2
2
  Name: lyrics-transcriber
3
- Version: 0.14.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)
@@ -5,13 +5,13 @@ lyrics_transcriber/llm_prompts/llm_prompt_lyrics_correction_gpt_optimised_202311
5
5
  lyrics_transcriber/llm_prompts/llm_prompt_lyrics_matching_andrew_handwritten_20231118.txt,sha256=hvk2Vs3M3Q4zGQsiQnXvnpd8wXWfwsudYeqN5qFyNWs,1754
6
6
  lyrics_transcriber/llm_prompts/promptfooconfig.yaml,sha256=O4YxlLV7XSUiSw_1Q9G7ELC2VAbrYUV_N5QxrPbd1jE,3735
7
7
  lyrics_transcriber/llm_prompts/test_data/ABBA-UnderAttack-Genius.txt,sha256=8d-RvZtyINKUlpQLwMi-VD--Y59J-epPt7SZSqjFbPI,1690
8
- lyrics_transcriber/transcriber.py,sha256=M-ybGCdOHeNsTtptizsL-VnA_7tcrGtrOZmlfuqS2Nk,39228
8
+ lyrics_transcriber/transcriber.py,sha256=IK5A2pl5JChqOnJwEySK4g-O0vYzWj3lKUhG_v2qmPs,39284
9
9
  lyrics_transcriber/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  lyrics_transcriber/utils/ass.py,sha256=b8lnjgXGD1OD1ld_b1xxUmSOf4nSEfz9BpgSkh16R4g,90291
11
11
  lyrics_transcriber/utils/cli.py,sha256=Z9bkR-l5f_rA-EjV0Z1kaLyEatsbmvMoACUznsXeGrk,6456
12
12
  lyrics_transcriber/utils/subtitles.py,sha256=GPLbo9oX3WJIY4wRO40k0RZF-UqvKjr2LFnXVOS0RHI,10762
13
- lyrics_transcriber-0.14.0.dist-info/LICENSE,sha256=BiPihPDxhxIPEx6yAxVfAljD5Bhm_XG2teCbPEj_m0Y,1069
14
- lyrics_transcriber-0.14.0.dist-info/METADATA,sha256=b6H_X9RItUITL49zjmzhzxPAgDPSstObuNzBu6A5KwM,5047
15
- lyrics_transcriber-0.14.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
16
- lyrics_transcriber-0.14.0.dist-info/entry_points.txt,sha256=lh6L-iR5CGELaNcouDK94X78eS5Ua_tK9lI4UEkza-k,72
17
- lyrics_transcriber-0.14.0.dist-info/RECORD,,
13
+ lyrics_transcriber-0.15.0.dist-info/LICENSE,sha256=BiPihPDxhxIPEx6yAxVfAljD5Bhm_XG2teCbPEj_m0Y,1069
14
+ lyrics_transcriber-0.15.0.dist-info/METADATA,sha256=pEQIbnWrpjO5tomYdZIiweJtF_0f-b7G7lODVnRiyCM,5078
15
+ lyrics_transcriber-0.15.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
16
+ lyrics_transcriber-0.15.0.dist-info/entry_points.txt,sha256=lh6L-iR5CGELaNcouDK94X78eS5Ua_tK9lI4UEkza-k,72
17
+ lyrics_transcriber-0.15.0.dist-info/RECORD,,