diff --git a/xtts/bridge.js b/xtts/bridge.js index 84fb20b..3978034 100644 --- a/xtts/bridge.js +++ b/xtts/bridge.js @@ -107,7 +107,7 @@ async function handleTTSRequest(payload) { .filter(s => s.length > 0) .map(s => s.replace(/[.]+$/, '')); // Punkt am Ende entfernen - const MAX_CHUNK_CHARS = 250; // Max ~250 Zeichen pro Chunk + const MAX_CHUNK_CHARS = 150; // Max ~150 Zeichen pro Chunk (schnelles Rendering, Preloading reicht) const chunks = []; let currentChunk = ''; for (const sentence of sentences) {