polats Claude Opus 4.8 (1M context) commited on
Commit
fc20b4d
·
1 Parent(s): e352ff3

Voice: cloud Qwen3-TTS is the default engine in prod (was Kokoro)

Browse files

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. web/tts.js +3 -2
web/tts.js CHANGED
@@ -10,8 +10,9 @@ import { playSamples, stopAudio } from '/web/ttsAudio.js'
10
  import { ensurePersistentStorage } from '/web/storage.js'
11
 
12
  const ENGINES = [kokoro, qwen3local, qwen3, kitten, webspeech]
13
- // On localhost the local-GPU Qwen3-TTS is the default; in prod it's Kokoro (local-first).
14
- let activeId = isLocalhost() ? 'qwen3local' : 'kokoro'
 
15
 
16
  // Qwen3-TTS designs a voice from a free-form description (the persona's `voice`).
17
  // Panels set it before narrating; previewVoice() plays a one-off sample.
 
10
  import { ensurePersistentStorage } from '/web/storage.js'
11
 
12
  const ENGINES = [kokoro, qwen3local, qwen3, kitten, webspeech]
13
+ // Default voice engine: local-GPU Qwen3-TTS on localhost, cloud Qwen3-TTS (DashScope)
14
+ // in prod. (Kokoro/Kitten/Web Speech stay as the in-browser, local-first alternatives.)
15
+ let activeId = isLocalhost() ? 'qwen3local' : 'qwen3'
16
 
17
  // Qwen3-TTS designs a voice from a free-form description (the persona's `voice`).
18
  // Panels set it before narrating; previewVoice() plays a one-off sample.