Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
navopw authored Feb 24, 2023
1 parent da58769 commit f319f75
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,21 @@ python app.py

## Documentation

This endpoint generates speech from a list of input sentences using the Tacotron2 and HiFiGAN models.
This endpoint generates speech from a text using the Tacotron2 and HiFiGAN models.

```bash
POST http://localhost:80/tts
```

The request body must be a JSON object with the following field:

- sentences (required): A list of sentences to be converted to speech.
- text (required): The text you want to hear spoken in the audio file.

Example:

```json
{
"sentences": [
"Hello, how are you?",
"My name is ChatGPT.",
"It's a pleasure to meet you."
]
"text": "Hello, I can do some text to speech. Thats awesome!"
}
```

Expand Down

0 comments on commit f319f75

Please sign in to comment.