Skip to content

Commit 9c72833

Browse files
committed
readme
1 parent d39b6f9 commit 9c72833

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

examples/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ else()
4848
add_subdirectory(run)
4949
add_subdirectory(simple)
5050
add_subdirectory(simple-chat)
51+
add_subdirectory(simple-tts)
5152
add_subdirectory(speculative)
5253
add_subdirectory(speculative-simple)
5354
add_subdirectory(tokenize)

examples/simple-tts/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# llama.cpp/example/simple-tts
2+
3+
The purpose of this example is to demonstrate a minimal usage of llama.cpp to generate speech from text using the outetts series of models.
4+
5+
## Usage
6+
7+
To use this example you will need the Text to Codes model [`OuteTTS-0.2-500M-q8_0.gguf`](https://huggingface.co/OuteAI/OuteTTS-0.2-500M-GGUF/blob/main/OuteTTS-0.2-500M-Q8_0.gguf), the Wav Tokenizer model [`WavTokenizer-Large-75-F16.gguf`](https://huggingface.co/ggml-org/WavTokenizer/blob/main/WavTokenizer-Large-75-F16.gguf), and a [outetts voice file](https://github.com/edwko/OuteTTS/tree/main/outetts/version/v1/default_speakers).
8+
9+
Once you have the files you can run the following command to generate speech from text:
10+
11+
```bash
12+
./llama-simple-tts -m ./OuteTTS-0.2-500M-q8_0.gguf -mv ./WavTokenizer-Large-75-F16.gguf -v ./en_male_1.json -p "Hello, world!"
13+
```

0 commit comments

Comments
 (0)