From 16615010f7f7bf653c6f3f060f7d56838ba016d2 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Fri, 7 Jun 2024 20:35:50 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Settings/Audio.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Settings/Audio.svelte b/src/lib/components/chat/Settings/Audio.svelte index 2c83856e9..c51b0f634 100644 --- a/src/lib/components/chat/Settings/Audio.svelte +++ b/src/lib/components/chat/Settings/Audio.svelte @@ -78,7 +78,7 @@ engine: STTEngine !== '' ? STTEngine : undefined }, tts: { - voice: $config.audio.tts.engine === 'openai' ? voice : voice !== '' ? voice : undefined, + voice: voice !== '' ? voice : undefined, nonLocalVoices: $config.audio.tts.engine === '' ? nonLocalVoices : undefined } }