Skip to content

Commit 11d55d3

Browse files
committed
Updated frontend to work with pre-corrected data from server
1 parent 5836421 commit 11d55d3

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

lyrics_transcriber/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "lyrics-transcriber-frontend",
33
"private": true,
44
"homepage": "https://nomadkaraoke.github.io/lyrics-transcriber-frontend",
5-
"version": "0.56.0",
5+
"version": "0.62.0",
66
"type": "module",
77
"scripts": {
88
"dev": "vite",

lyrics_transcriber/frontend/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export interface AnchorSequence {
5050
[source: string]: string[]
5151
}
5252
confidence: number
53-
phrase_score: PhraseScore
54-
total_score: number
53+
phrase_score?: PhraseScore
54+
total_score?: number
5555
}
5656

5757
export interface GapSequence {

lyrics_transcriber/frontend/src/validation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ const AnchorSequenceSchema = z.object({
6969
reference_positions: z.record(z.number()),
7070
reference_word_ids: z.record(z.array(z.string())),
7171
confidence: z.number(),
72-
phrase_score: PhraseScoreSchema,
73-
total_score: z.number()
72+
phrase_score: PhraseScoreSchema.optional(),
73+
total_score: z.number().optional()
7474
})
7575

7676
const GapSequenceSchema = z.object({

lyrics_transcriber/frontend/web_assets/assets/index-B35iaySc.js renamed to lyrics_transcriber/frontend/web_assets/assets/index-CYF5xuZH.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32774,8 +32774,8 @@ const AnchorSequenceSchema = z.object({
3277432774
reference_positions: z.record(z.number()),
3277532775
reference_word_ids: z.record(z.array(z.string())),
3277632776
confidence: z.number(),
32777-
phrase_score: PhraseScoreSchema,
32778-
total_score: z.number()
32777+
phrase_score: PhraseScoreSchema.optional(),
32778+
total_score: z.number().optional()
3277932779
});
3278032780
const GapSequenceSchema = z.object({
3278132781
id: z.string(),
@@ -38915,7 +38915,7 @@ const theme = createTheme({
3891538915
spacing: (factor) => `${0.6 * factor}rem`
3891638916
// Further reduced from 0.8 * factor
3891738917
});
38918-
const version = "0.56.0";
38918+
const version = "0.62.0";
3891938919
const packageJson = {
3892038920
version
3892138921
};
@@ -38926,4 +38926,4 @@ ReactDOM$1.createRoot(document.getElementById("root")).render(
3892638926
/* @__PURE__ */ jsxRuntimeExports.jsx(App, {})
3892738927
] })
3892838928
);
38929-
//# sourceMappingURL=index-B35iaySc.js.map
38929+
//# sourceMappingURL=index-CYF5xuZH.js.map

lyrics_transcriber/frontend/web_assets/assets/index-B35iaySc.js.map renamed to lyrics_transcriber/frontend/web_assets/assets/index-CYF5xuZH.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lyrics_transcriber/frontend/web_assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Lyrics Transcriber Analyzer</title>
8-
<script type="module" crossorigin src="/assets/index-B35iaySc.js"></script>
8+
<script type="module" crossorigin src="/assets/index-CYF5xuZH.js"></script>
99
</head>
1010
<body>
1111
<div id="root"></div>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "lyrics-transcriber"
3-
version = "0.61.0"
3+
version = "0.62.0"
44
description = "Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify"
55
authors = ["Andrew Beveridge <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)