Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ rm -rf _site
mkdir -p _site/pkg _site/mimi-pkg _site/web
cp crates/sts-wasm/pkg/sts_wasm.js crates/sts-wasm/pkg/sts_wasm_bg.wasm _site/pkg/
cp crates/mimi-wasm/pkg/mimi_wasm.js crates/mimi-wasm/pkg/mimi_wasm_bg.wasm _site/mimi-pkg/
cp web/index.html web/worker.js web/mimi-worker.js web/audio-playback.js web/audio-processor.js _site/web/
cp web/index.html web/worker.js web/mimi-worker.js web/audio-playback.js web/audio-processor.js web/joke.wav _site/web/

# --- Rewrite the ENGINE_BUILD tag on every loading URL ---
echo "==> Rewriting ENGINE_BUILD tag to $ENGINE_BUILD"
Expand Down
4 changes: 2 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -945,10 +945,10 @@ <h2>performance</h2>

const cached = await isModelCached();
if (cached || isBenchmark) {
updateStatus('loading', 'Loading model from cache (~5 GB)...');
updateStatus('loading', 'Loading model from cache (~3.5 GB)...');
worker.postMessage({ type: 'load', benchmark: isBenchmark });
} else {
updateStatus('', 'Model not loaded (~5.1 GB download)');
updateStatus('', 'Model not loaded (~3.9 GB download)');
downloadBtn.textContent = 'Download Model';
downloadBtn.style.display = '';
downloadBtn.addEventListener('click', () => {
Expand Down
Binary file added web/joke.wav
Binary file not shown.
Loading