mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 01:12:43 -05:00
fix: Read Aloud uses Kokoro.js when it is picked under Settings > Audio (#33211)
This commit is contained in:
1 file changed
+1
-1
@@ -270,7 +270,7 @@
|
||||
|
||||
speaking = true;
|
||||
|
||||
if ($config.audio.tts.engine === '') {
|
||||
if ($config.audio.tts.engine === '' && $settings.audio?.tts?.engine !== 'browser-kokoro') {
|
||||
let voices = [];
|
||||
const getVoicesLoop = setInterval(() => {
|
||||
voices = speechSynthesis.getVoices();
|
||||
|
||||
Reference in new issue
Block a user