Skip to content

Commit

Permalink
added config for Polly, 12
Browse files Browse the repository at this point in the history
  • Loading branch information
kelockhart committed Sep 15, 2022
1 parent ff966bc commit 1c02938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def create_audio(bib_dict=None):
full_line = prepend + text + append

response = polly_client.start_speech_synthesis_task(VoiceId=random.choice(polly_voices),
OutputS3BucketName='XXX',
OutputS3BucketName=config.get('AWS_BUCKET'),
OutputS3KeyPrefix=bibcode,
OutputFormat='mp3',
Text=full_line,
Expand Down

0 comments on commit 1c02938

Please sign in to comment.