Update chatterbox/tts_turbo.py
Browse files- chatterbox/tts_turbo.py +2 -2
chatterbox/tts_turbo.py
CHANGED
|
@@ -281,12 +281,12 @@ class ChatterboxTurboTTS:
|
|
| 281 |
# Check if chunking is needed
|
| 282 |
if chunk_text_enabled and len(text) > max_chunk_chars:
|
| 283 |
text_chunks = chunk_text(text, max_chars=max_chunk_chars)
|
| 284 |
-
|
| 285 |
|
| 286 |
# Generate audio for each chunk and concatenate
|
| 287 |
all_wavs = []
|
| 288 |
for i, chunk in enumerate(text_chunks):
|
| 289 |
-
|
| 290 |
wav_chunk = self._generate_chunk(
|
| 291 |
chunk,
|
| 292 |
repetition_penalty=repetition_penalty,
|
|
|
|
| 281 |
# Check if chunking is needed
|
| 282 |
if chunk_text_enabled and len(text) > max_chunk_chars:
|
| 283 |
text_chunks = chunk_text(text, max_chars=max_chunk_chars)
|
| 284 |
+
|
| 285 |
|
| 286 |
# Generate audio for each chunk and concatenate
|
| 287 |
all_wavs = []
|
| 288 |
for i, chunk in enumerate(text_chunks):
|
| 289 |
+
|
| 290 |
wav_chunk = self._generate_chunk(
|
| 291 |
chunk,
|
| 292 |
repetition_penalty=repetition_penalty,
|