/ai-translation

Using OpenAI and Google Cloud APIs for Multilingual Text-to-Speech Conversion

Primary LanguageJupyter Notebook

Breaking Language Barriers: Unleashing the Power of AI for Multilingual Translation

The correspoding blog article: Breaking Language Barriers: Unleashing the Power of AI for Multilingual Translation

Prerequisites

Install dependencies:

pip install -r requirements.txt

Get yourself OpenAI API key and create .env file:

OPENAI_KEY=sk-...

Get yourself a Google Cloud (only for version 1)

Version 1: Using OpenAI-Whisper with Google Cloud Text-To-Speech

Checkout the file whisper.ipynb.

Uses:

  • Google Cloud Text-To-Speech
  • Whisper

Version 2: Using new HuggingFace transformers agents

Checkout the file transformers.ipynb

Uses: