This commit is contained in:
Timothy Jaeryang Baek 2025-02-23 13:32:19 -08:00
parent 6c862b8fbf
commit f8ad74fc42

View File

@ -1285,6 +1285,8 @@
stream = null;
if ($settings.audio?.tts?.engine === 'browser-kokoro') {
// If the user has not initialized the TTS worker, initialize it
if (!$TTSWorker) {
await TTSWorker.set(
new KokoroWorker({
@ -1294,6 +1296,7 @@
await $TTSWorker.init();
}
}
showCallOverlay.set(true);
showControls.set(true);