first substantial commit. nearly working with Amazon. fixed #1

This commit is contained in:
2019-02-07 14:31:50 -05:00
parent f5beda0b27
commit 63a4bd4a2c
7 changed files with 273 additions and 1 deletions

18
config.py Normal file
View File

@@ -0,0 +1,18 @@
import os
from tatt.vendors import (
amazon,
)
STT_SERVICES = {
'amazon': {
'cost_per_minute': .024,
'free': '60_minutes_per_month_for_the_first_12_months',
'function': amazon.transcribe,
},
}
DEFAULT_BUCKET_NAME_FORMATTER = 'tatt_{}'
AWS_CREDENTIALS_FILEPATH = os.getenv('AWS_CREDENTIALS_FILEPATH') or '~/.aws/credentials'