Update xtts.py

This commit is contained in:
Moctar Haiz 2024-04-08 21:16:49 +02:00 committed by GitHub
parent ffe4b8efeb
commit 24e8486715
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class Xtts(BaseTTS):
for i in range(0, audio.shape[1], 22050 * chunk_length):
audio_chunk = audio[:, i : i + 22050 * chunk_length]
# if the chunk is too short ignore it
# if the chunk is too short ignore it
if audio_chunk.size(-1) < 22050 * 0.33:
continue