Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.67 KB

File metadata and controls

34 lines (29 loc) · 1.67 KB

Interp-Service

A python web app that brokers acces to certain speech-related Google AI services

Features

  • Authentication with Firebase Auth
  • Enumeration of available languages
  • WebSockets channels for transcribing and translating audio data

Google Cloud APIs used and required

Prerequisites

Instructions

  1. Enable all of those APIs in your GCP project. Make sure to enable Firebase Auth in your Firebase project
    • Below is a quick, safe Firebase Auth configuration for playing around with this system. All of these options are available in the setup wizard when you initially enable Auth:
      • enable only email/password auth
      • manually create a user
      • disable user creation via the API
  2. Create a service account with access to these APIs. Download its credentials file and put it in the root of this project with the name google-services.json
  3. Build the image and run it in a container:
$ docker build -t <image_name> . && docker run -it -p 8080:8080 --name <image_name> <container_name>
  1. Confirm its running and available (should return a list of languages):
$ curl http://<ip_appdress>:8080/getSupportedLanguages