enable streaming for whisper tts

This commit is contained in:
Quan HL
2024-02-19 15:38:14 +07:00
parent 05c1d9efaa
commit 310dadf514

View File

@@ -301,7 +301,7 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
...(vendor === VENDOR_ELEVENLABS && {
options: options || null,
}),
...(vendor === VENDOR_ELEVENLABS && {
...((vendor === VENDOR_ELEVENLABS || vendor === VENDOR_WHISPER) && {
use_streaming: useStreaming ? 1 : 0,
}),
...(vendor === VENDOR_DEEPGRAM && {