Skip to content
Merged
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
4 changes: 2 additions & 2 deletions wasm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ <h2>Run an <span>LLM</span> in your browser</h2>

addMessage('user', text);
const aDiv = addMessage('assistant', '');
aDiv.innerHTML = '<span class="thinking"><span class="spinner"></span> Thinking...</span>';
aDiv.innerHTML = '<span class="thinking"><span class="spinner"></span> Processing prompt (may take a few seconds)...</span>';
let output = '', count = 0;
const t0 = performance.now();
document.getElementById('statTokens').textContent = '';
document.getElementById('statSpeed').textContent = 'prefill...';
document.getElementById('statSpeed').textContent = 'processing prompt...';

Module.onToken = (tok) => {
output += tok; count++;
Expand Down
Loading