diff --git a/package.json b/package.json
index c1f94594..c280a80d 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"dependencies": {
"@adobe/css-tools": "4.3.2",
"@aws-crypto/sha256-js": "^5.2.0",
+ "@breezystack/lamejs": "^1.2.7",
"@capacitor/android": "^5.6.0",
"@capacitor/core": "^5.6.0",
"@capacitor/filesystem": "^5.2.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8bb3a889..737a7b4c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -14,6 +14,9 @@ importers:
'@aws-crypto/sha256-js':
specifier: ^5.2.0
version: 5.2.0
+ '@breezystack/lamejs':
+ specifier: ^1.2.7
+ version: 1.2.7
'@capacitor/android':
specifier: ^5.6.0
version: 5.6.0(@capacitor/core@5.6.0)
@@ -361,6 +364,9 @@ packages:
resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==}
engines: {node: '>=6.9.0'}
+ '@breezystack/lamejs@1.2.7':
+ resolution: {integrity: sha512-6wc7ck65ctA75Hq7FYHTtTvGnYs6msgdxiSUICQ+A01nVOWg6rqouZB8IdyteRlfpYYiFovkf67dIeOgWIUzTA==}
+
'@capacitor/android@5.6.0':
resolution: {integrity: sha512-6O7xV6K6c8WvQzKxOe7fnhRyoVpS3TNDXy1FyfhvOvclBvu+1JddSdFvW4e4dSL60s2c00sCzNRgYhm+cn0/dQ==}
peerDependencies:
@@ -4061,6 +4067,8 @@ snapshots:
chalk: 2.4.2
js-tokens: 4.0.0
+ '@breezystack/lamejs@1.2.7': {}
+
'@capacitor/android@5.6.0(@capacitor/core@5.6.0)':
dependencies:
'@capacitor/core': 5.6.0
diff --git a/src/App.svelte b/src/App.svelte
index 5f1d529c..b2a760df 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -36,7 +36,7 @@
await importCharacterProcess({
name: file.name,
data: file
- })
+ })
checkCharOrder()
}
}}>
diff --git a/src/lang/en.ts b/src/lang/en.ts
index ae61f590..aaba8e64 100644
--- a/src/lang/en.ts
+++ b/src/lang/en.ts
@@ -823,4 +823,8 @@ export const languageEnglish = {
presetChain: "Preset Chain",
legacyMediaFindings: "Legacy Media Findings",
staticsDisclaimer: "The statistics are based on the data from after July 2024. the data may not be accurate.",
+ subtitles: "Subtitles",
+ subtitlesWarning1: "You must use model with audio/video input to use this feature.",
+ subtitlesWarning2: "You must use model with streaming feature to use this feature.",
+ reset: "Reset",
}
\ No newline at end of file
diff --git a/src/lib/Playground/PlaygroundMenu.svelte b/src/lib/Playground/PlaygroundMenu.svelte
index ac7756a3..3d007539 100644
--- a/src/lib/Playground/PlaygroundMenu.svelte
+++ b/src/lib/Playground/PlaygroundMenu.svelte
@@ -14,6 +14,7 @@
import PlaygroundParser from "./PlaygroundParser.svelte";
import ToolConvertion from "./ToolConvertion.svelte";
import { joinMultiuserRoom } from "src/ts/sync/multiuser";
+ import PlaygroundSubtitle from "./PlaygroundSubtitle.svelte";
let easterEggTouch = $state(0)
@@ -83,6 +84,11 @@
}}>
Parser
+