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:
Simon Woker authored and GitHub committed 2022-07-18 16:43:39 +02:00
1 parent 03fae9e4a9
commit 2f5b0ca490
1 file changed
+1 -1
+1 -1
View File
@@ -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):