Skip to content

WangYixuan12/openai_tts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI TTS Gradio Interface

Web Demo

This is a simple Gradio Interface to use OpenAI Text-to-Speech API. The interface looks like this:

Interface

Usage

Get your OpenAI API key following the tutorial here. I use Miniforge to set up the environment, but you can use Anaconda or any other package manager.

mamba env create -f env.yaml # Create the environment
conda activate openai_tts # Activate the environment
python app.py # Run the app

Acknowledgement

This repo is adapted from https://github.com/leokwsw/OpenAI-TTS-Gradio