squash! examples : add README.md to tts example [no ci]

Fix heading to be consistent with other examples, and add a quickstart
section to README.md.
This commit is contained in:
Daniel Bevenius 2025-01-09 12:49:13 +01:00
parent 0b87a2dd10
commit 9091993a5e

View file

@ -1,8 +1,17 @@
## Text To Speach (TTS) example
# llama.cpp/example/tts
This example demonstrates the Text To Speach feature. It uses a
[model](https://www.outeai.com/blog/outetts-0.2-500m) from
[outeai](https://www.outeai.com/).
## Quickstart
If you have built llama.cpp with `-DLLAMA_CURL=ON` you can simply run the
following command and the required models will be downloaded automatically:
```console
$ build/bin/llama-tts --tts-oute-default -p "Hello world" && aplay output.wav
```
For details about the models and how to convert them to the required format
see the following sections.
### Model conversion
Checkout or download the model that contains the LLM model:
```console