Skip to content

Instantly share code, notes, and snippets.

@yegorkryukov
Created June 25, 2020 16:46
Show Gist options
  • Save yegorkryukov/d2c40302153cb319a16a0df5bc2e652d to your computer and use it in GitHub Desktop.
Save yegorkryukov/d2c40302153cb319a16a0df5bc2e652d to your computer and use it in GitHub Desktop.
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