An open API service indexing awesome lists of open source software.

https://github.com/engageintellect/text-to-speech

A text-to-speech engine using microsoft/speecht5_tts and OpenAI.
https://github.com/engageintellect/text-to-speech

huggingface openai pyaudio python pytorch tensorflow

Last synced: 2 months ago
JSON representation

A text-to-speech engine using microsoft/speecht5_tts and OpenAI.

Awesome Lists containing this project

README

          

# text-to-speech

## Description

This is a simple text-to-speech engine using microsoft/speecht5_tts and OpenAI.

The program takes a string as input and outputs an audio file of the speech. The program can be run from the command line and takes the input string as an argument.

## Usage

To use the program, run the following command from the command line:

```bash
cd text-to-speech
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python3 {SCRIPT_DIR}/main.py
```

Note: Replace `{SCRIPT NAME}` with the name of the script you want to run. The script will prompt you to enter the text you want to convert to speech, and will output an audio file with the speech.