Merge pull request #1029 from swoker/patch-1

change AWS and GTTS max_chars
pull/1072/head
Jason 2 years ago committed by GitHub
commit ea9763cb7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:
def __init__(self):
self.max_chars = 0
self.max_chars = 3000
self.voices = voices
def run(self, text, filepath, random_voice: bool = False):

Loading…
Cancel
Save