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.
This commit is contained in:
1 parent
03fae9e4a9
commit
2f5b0ca490
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user