Merge pull request #1029 from swoker/patch-1
change AWS and GTTS max_chars
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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):
|
||||
|
||||
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user