Created
June 25, 2020 16:46
-
-
Save yegorkryukov/d2c40302153cb319a16a0df5bc2e652d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
BUCKET_NAME = <'YOUR-S3-BUCKET-NAME'> | |
FILE_NAME = <'YOUR-AUDIO-FILENAME.mp3'> | |
JOB_NAME = <'YOUR-TRANSCRIBE-JOB-NAME'> # can be anything | |
# Instantiate a client to the AWS transcribe service | |
transcribe = boto3.client( | |
'transcribe', | |
aws_access_key_id=AWS_ACCESS_KEY_ID, | |
aws_secret_access_key=AWS_SECRET_KEY, | |
region_name='us-east-1') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment