Skip to content

magicpea/DubHacks2019

Repository files navigation

DubHacks2019

Requirements:

  • Mac OS (Untested for any other operating system)
  • Python 3.X

Setup

Install the python dependencies

sudo pip install -r requirements.txt

Install ffmpeg:

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

When Homebrew is finished, install ffmpeg:

brew install ffmpeg

Google Credentials

Create Google Credentials and choose an API key. Instructions here: https://console.cloud.google.com/apis/credentials

Download and save the .json file containing information on your Google Credentials into a safe folder on your device.

Once you have Google Credentials, enable the following Cloud API's:

  • Cloud Speech-to-Text API
  • Cloud Translation API
  • Cloud Text-to-Speech API

Finally, open run.py and replace the following line:

os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'Path to Google Credentials .json file'

WITH

os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'ThisIsAFakeCredentialsFileName123456789.json'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages