From 2f5b0ca490090c1fdfa6a6f539f396ee7bcd48dd Mon Sep 17 00:00:00 2001 From: Simon Woker Date: Mon, 18 Jul 2022 16:43:39 +0200 Subject: [PATCH] fix AWS_Polly TTS max_chars previously aws TTS did not read out comments correctly and only made weird sounds with super short mp3s. This fixes the problem and allows the full comment to be read. --- TTS/aws_polly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TTS/aws_polly.py b/TTS/aws_polly.py index efd762b..1f20ed4 100644 --- a/TTS/aws_polly.py +++ b/TTS/aws_polly.py @@ -26,7 +26,7 @@ voices = [ class AWSPolly: def __init__(self): - self.max_chars = 0 + self.max_chars = 100000 self.voices = voices def run(self, text, filepath, random_voice: bool = False):