change AWS and GTTS max_chars
@ -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):
@ -26,7 +26,7 @@ voices = [
class AWSPolly:
self.max_chars = 3000
self.voices = voices
def run(self, text, filepath, random_voice: bool = False):