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.
pull/1029/head
Simon Woker 3 years ago committed by GitHub
parent 03fae9e4a9
commit 2f5b0ca490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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):

Loading…
Cancel
Save