diff --git a/TTS/GTTS.py b/TTS/GTTS.py index 31e29df..cef1b24 100644 --- a/TTS/GTTS.py +++ b/TTS/GTTS.py @@ -8,7 +8,7 @@ max_chars = 0 class GTTS: def __init__(self): - self.max_chars = 0 + self.max_chars = 5000 self.voices = [] def run(self, text, filepath): diff --git a/TTS/aws_polly.py b/TTS/aws_polly.py index efd762b..eac5884 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 = 3000 self.voices = voices def run(self, text, filepath, random_voice: bool = False):