mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix xtts separator
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user