diff --git a/README.md b/README.md index 96a1304..d1abfd2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# AU Whisper Web +# Whisper Web Browser-first speech-to-text powered by OpenAI Whisper. Anonymous users run Whisper entirely in their browser via diff --git a/isolate_wer2.ts b/isolate_wer2.ts index d3dc5a5..e02ebbf 100644 --- a/isolate_wer2.ts +++ b/isolate_wer2.ts @@ -1,7 +1,7 @@ // TEMP (delete after use): which component's q4 hurts — encoder or decoder? import { pipeline } from "@huggingface/transformers"; const audio = new Float32Array(await Bun.file(process.argv[2]!).arrayBuffer()); -const S = "/tmp/claude-1000/-home-user-au-whisper-web/b192bada-c438-4a43-a29d-c2969ef71f6c/scratchpad"; +const S = "/tmp/claude-1000/-home-user-whisper-web/b192bada-c438-4a43-a29d-c2969ef71f6c/scratchpad"; async function run(label: string, dtype: any) { const asr = await pipeline("automatic-speech-recognition", "onnx-community/whisper-large-v3-turbo", { dtype, progress_callback: () => {} }); const t0 = performance.now(); diff --git a/package.json b/package.json index 070b4ff..98844f6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "au_whisper_web", + "name": "whisper_web", "version": "0.1.0", "private": true, "type": "module", diff --git a/patches/@huggingface%2Ftransformers@4.2.0.patch b/patches/@huggingface%2Ftransformers@4.2.0.patch index 1d1293a..e26c9ff 100644 --- a/patches/@huggingface%2Ftransformers@4.2.0.patch +++ b/patches/@huggingface%2Ftransformers@4.2.0.patch @@ -25,7 +25,7 @@ index bb7b32717a42475a5f66411a33d5e5964dfda3e2..03de63967e99f8f3c847858621d72577 - }) - ) - ); -+ // Patched (au_whisper_web): each entry briefly holds a full-size decoded ++ // Patched (whisper_web): each entry briefly holds a full-size decoded + // model buffer in JS-heap memory (on top of onnxruntime-web's own WASM-heap + // copy during session creation); loading Whisper's encoder and decoder + // concurrently keeps both buffers alive at once and roughly doubles the diff --git a/src/App.tsx b/src/App.tsx index 89370b8..e282021 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1004,7 +1004,7 @@ export function App() {
-

AU Whisper Web

+

Whisper Web

Speech-to-text that runs entirely in your browser. Your audio never leaves this device.