Fix xtts separator
This commit is contained in:
parent
56b63c0e02
commit
f802fe1797
|
@ -502,6 +502,10 @@ async function processTtsQueue() {
|
|||
const partJoiner = (ttsProvider?.separator || ' ... ');
|
||||
text = matches ? matches.join(partJoiner) : text;
|
||||
}
|
||||
|
||||
// Collapse newlines and spaces into single space
|
||||
text = text.replace(/\s+/g, ' ');
|
||||
|
||||
console.log(`TTS: ${text}`)
|
||||
const char = currentTtsJob.name
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ class XTTSTtsProvider {
|
|||
settings
|
||||
ready = false
|
||||
voices = []
|
||||
separator = ' .. '
|
||||
separator = '. '
|
||||
|
||||
languageLabels = {
|
||||
"Arabic": "ar",
|
||||
|
|
Loading…
Reference in New Issue