igorrendulic / ai-translation

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

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


Languages

Language:Jupyter Notebook 99.8%Language:Python 0.2%