Remove AU branding
Rename the app from "AU Whisper Web" to "Whisper Web" in the README title and app header, rename the package to whisper_web, and drop the au_ prefix from the transformers patch comment and the scratch path in isolate_wer2.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7ab41f4299
commit
c1b710cb23
5 files changed
+5
-5
No files matched your search
@@ -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
|
||||
|
||||
+1
-1
@@ -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();
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "au_whisper_web",
|
||||
"name": "whisper_web",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -1004,7 +1004,7 @@ export function App() {
|
||||
<main className="app">
|
||||
<header className="app-header">
|
||||
<div>
|
||||
<h1>AU Whisper Web</h1>
|
||||
<h1>Whisper Web</h1>
|
||||
<p className="tagline">
|
||||
Speech-to-text that runs entirely in your browser. Your audio never
|
||||
leaves this device.
|
||||
|
||||
Reference in new issue
Block a user