lyrics-transcriber 0.56.0__py3-none-any.whl → 0.56.1__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.
- lyrics_transcriber/frontend/package.json +1 -1
- lyrics_transcriber/frontend/web_assets/assets/{index-B35iaySc.js → index-C6nHrD6T.js} +2 -2
- lyrics_transcriber/frontend/web_assets/assets/{index-B35iaySc.js.map → index-C6nHrD6T.js.map} +1 -1
- lyrics_transcriber/frontend/web_assets/index.html +1 -1
- lyrics_transcriber/types.py +12 -13
- {lyrics_transcriber-0.56.0.dist-info → lyrics_transcriber-0.56.1.dist-info}/METADATA +1 -1
- {lyrics_transcriber-0.56.0.dist-info → lyrics_transcriber-0.56.1.dist-info}/RECORD +10 -10
- {lyrics_transcriber-0.56.0.dist-info → lyrics_transcriber-0.56.1.dist-info}/LICENSE +0 -0
- {lyrics_transcriber-0.56.0.dist-info → lyrics_transcriber-0.56.1.dist-info}/WHEEL +0 -0
- {lyrics_transcriber-0.56.0.dist-info → lyrics_transcriber-0.56.1.dist-info}/entry_points.txt +0 -0
@@ -5,7 +5,7 @@
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7
7
|
<title>Lyrics Transcriber Analyzer</title>
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
8
|
+
<script type="module" crossorigin src="/assets/index-C6nHrD6T.js"></script>
|
9
9
|
</head>
|
10
10
|
<body>
|
11
11
|
<div id="root"></div>
|
lyrics_transcriber/types.py
CHANGED
@@ -339,19 +339,8 @@ class AnchorSequence:
|
|
339
339
|
|
340
340
|
def to_dict(self) -> Dict[str, Any]:
|
341
341
|
"""Convert the anchor sequence to a JSON-serializable dictionary."""
|
342
|
-
#
|
343
|
-
|
344
|
-
return {
|
345
|
-
"words": self._words,
|
346
|
-
"text": self.text,
|
347
|
-
"length": self.length,
|
348
|
-
"transcription_position": self.transcription_position,
|
349
|
-
"reference_positions": self.reference_positions,
|
350
|
-
"confidence": self.confidence,
|
351
|
-
}
|
352
|
-
|
353
|
-
# New format
|
354
|
-
return {
|
342
|
+
# Always return the new format that includes all required fields
|
343
|
+
result = {
|
355
344
|
"id": self.id,
|
356
345
|
"transcribed_word_ids": self.transcribed_word_ids,
|
357
346
|
"transcription_position": self.transcription_position,
|
@@ -359,6 +348,16 @@ class AnchorSequence:
|
|
359
348
|
"reference_word_ids": self.reference_word_ids,
|
360
349
|
"confidence": self.confidence,
|
361
350
|
}
|
351
|
+
|
352
|
+
# For backwards compatibility, include words and text fields if _words is present
|
353
|
+
if self._words is not None:
|
354
|
+
result.update({
|
355
|
+
"words": self._words,
|
356
|
+
"text": self.text,
|
357
|
+
"length": self.length,
|
358
|
+
})
|
359
|
+
|
360
|
+
return result
|
362
361
|
|
363
362
|
@classmethod
|
364
363
|
def from_dict(cls, data: Dict[str, Any]) -> "AnchorSequence":
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: lyrics-transcriber
|
3
|
-
Version: 0.56.
|
3
|
+
Version: 0.56.1
|
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
|
License: MIT
|
6
6
|
Author: Andrew Beveridge
|
@@ -28,7 +28,7 @@ lyrics_transcriber/frontend/README.md,sha256=-D6CAfKTT7Y0V3EjlZ2fMy7fyctFQ4x2TJ9
|
|
28
28
|
lyrics_transcriber/frontend/__init__.py,sha256=nW8acRSWTjXoRwGqcTU4w-__X7tMAE0iXL0uihBN3CU,836
|
29
29
|
lyrics_transcriber/frontend/eslint.config.js,sha256=3ADH23ANA4NNBKFy6nCVk65e8bx1DrVd_FIaYNnhuqA,734
|
30
30
|
lyrics_transcriber/frontend/index.html,sha256=KfqJVONzpUyPIwV73nZRiCWlwLnFWeB3z0vzxDPNudU,376
|
31
|
-
lyrics_transcriber/frontend/package.json,sha256=
|
31
|
+
lyrics_transcriber/frontend/package.json,sha256=JzRDyUtrgx5hQN6hBA17rAMINl1BeV8rcw-0bXhNoOI,1182
|
32
32
|
lyrics_transcriber/frontend/public/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
33
33
|
lyrics_transcriber/frontend/src/App.tsx,sha256=f1-dp-MU8vap18eAXacwVDO5P4eE2iG9zSvjau-7NJs,6533
|
34
34
|
lyrics_transcriber/frontend/src/api.ts,sha256=UgqPc1jo8DEVgxh3_9Lyf9GBsHYpqMAqsPEE5BzTV4w,6640
|
@@ -82,9 +82,9 @@ lyrics_transcriber/frontend/update_version.js,sha256=PxkqCnsucXnXiIqutsanVcx00Gq
|
|
82
82
|
lyrics_transcriber/frontend/vite.config.d.ts,sha256=S5bdGf0pSdKM6A6RNBKwAm3EIeW_bDHYfHtesRtXU7Q,76
|
83
83
|
lyrics_transcriber/frontend/vite.config.js,sha256=P4GuPgRZzwEWPQZpyujUe7eA3mjPoFAe2CgE5sQAXg8,232
|
84
84
|
lyrics_transcriber/frontend/vite.config.ts,sha256=8FdW0dN8zDFqfhQSxX5h7sIu72X2piLYlp_TZYRQvBQ,216
|
85
|
-
lyrics_transcriber/frontend/web_assets/assets/index-
|
86
|
-
lyrics_transcriber/frontend/web_assets/assets/index-
|
87
|
-
lyrics_transcriber/frontend/web_assets/index.html,sha256=
|
85
|
+
lyrics_transcriber/frontend/web_assets/assets/index-C6nHrD6T.js,sha256=paYEcHmp8RNb0NAVhBcZ86DCoIAONO0fmrflDB-zRuo,1257959
|
86
|
+
lyrics_transcriber/frontend/web_assets/assets/index-C6nHrD6T.js.map,sha256=9Ug5yJWI2nOfdtf-jq2QJQKpOhNlURvdMUuV30MROOg,2678465
|
87
|
+
lyrics_transcriber/frontend/web_assets/index.html,sha256=v4BmuDAfI38fNm9V12D5pkFtXMFlMwdrPQXNYidR_lA,400
|
88
88
|
lyrics_transcriber/frontend/web_assets/vite.svg,sha256=SnSK_UQ5GLsWWRyDTEAdrjPoeGGrXbrQgRw6O0qSFPs,1497
|
89
89
|
lyrics_transcriber/frontend/yarn.lock,sha256=wtImLsCO1P1Lpkhc1jAN6IiHQ0As4xn39n0cwKoh4LM,131996
|
90
90
|
lyrics_transcriber/lyrics/base_lyrics_provider.py,sha256=mqlqssKG2AofvqEU48nCwLnz0FhO9Ee6MNixF6GBnYY,9133
|
@@ -149,10 +149,10 @@ lyrics_transcriber/storage/dropbox.py,sha256=Dyam1ULTkoxD1X5trkZ5dGp5XhBGCn998mo
|
|
149
149
|
lyrics_transcriber/transcribers/audioshake.py,sha256=hLlnRfkYldP8Y0dMCCwjYlLwqUZPAP7Xzk59G3u5bq0,8939
|
150
150
|
lyrics_transcriber/transcribers/base_transcriber.py,sha256=T3m4ZCwZ9Bpv6Jvb2hNcnllk-lmeNmADDJlSySBtP1Q,6480
|
151
151
|
lyrics_transcriber/transcribers/whisper.py,sha256=YcCB1ic9H6zL1GS0jD0emu8-qlcH0QVEjjjYB4aLlIQ,13260
|
152
|
-
lyrics_transcriber/types.py,sha256=
|
152
|
+
lyrics_transcriber/types.py,sha256=wqFrTKhb8qAUB48zH-51_EEGCGrxm0Ji-ETfQumtSKc,27666
|
153
153
|
lyrics_transcriber/utils/word_utils.py,sha256=-cMGpj9UV4F6IsoDKAV2i1aiqSO8eI91HMAm_igtVMk,958
|
154
|
-
lyrics_transcriber-0.56.
|
155
|
-
lyrics_transcriber-0.56.
|
156
|
-
lyrics_transcriber-0.56.
|
157
|
-
lyrics_transcriber-0.56.
|
158
|
-
lyrics_transcriber-0.56.
|
154
|
+
lyrics_transcriber-0.56.1.dist-info/LICENSE,sha256=81R_4XwMZDODHD7JcZeUR8IiCU8AD7Ajl6bmwR9tYDk,1074
|
155
|
+
lyrics_transcriber-0.56.1.dist-info/METADATA,sha256=MKOe0GrscQmRlhBtixhOngpCp6d6iitRYGvVBmhO4CQ,6637
|
156
|
+
lyrics_transcriber-0.56.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
157
|
+
lyrics_transcriber-0.56.1.dist-info/entry_points.txt,sha256=kcp-bSFkCACAEA0t166Kek0HpaJUXRo5SlF5tVrqNBU,216
|
158
|
+
lyrics_transcriber-0.56.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{lyrics_transcriber-0.56.0.dist-info → lyrics_transcriber-0.56.1.dist-info}/entry_points.txt
RENAMED
File without changes
|