Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jina-ai/executor-coquitts

Executor that leverages CoquiTTS engine for text2speech
https://github.com/jina-ai/executor-coquitts

coqui tts

Last synced: about 2 months ago
JSON representation

Executor that leverages CoquiTTS engine for text2speech

Awesome Lists containing this project

README

        

# CoquiTTS

Executor that leverages CoquiTTS engine for text2speech

## Usage

- Put your text into `Document.text`;
- Send multiple Documents into a `DocumentArray`;
- Executors will generate speech from your text and store it in `.uri` as Data URI (namely, something starts with `data:audio/wav;`)
- You can use this embedded audio in HTML. Or directly play it in Jupyter Notebook.

```python
returned_da = ...
returned_da[0].display()
```

![img.png](img.png)

## Sandbox

The following code can be copy-paste and run in **Jupyter Notebook/Colab** as-is:

```python
from jina import Flow, Document

f = Flow().add(uses='jinahub+sandbox://CoquiTTS7')

with f:
r = f.post('/', Document(text='hi Alex, are you near your laptop?'))
r[0].display()
```