Skip to content

Commit 0f50d7c

Browse files
committed
doc: update README
Signed-off-by: Xin Liu <[email protected]>
1 parent 8039c14 commit 0f50d7c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ This project is a RESTful API server that creates an audio from a text based on
6363
- Start server
6464

6565
```bash
66-
wasmedge --dir .:. tts-api-server.wasm
66+
wasmedge --dir .:. tts-api-server.wasm \
67+
--model-name piper \
68+
--model en_US-lessac-medium.onnx \
69+
--config en_US-lessac-medium.onnx.json \
70+
--espeak-ng-dir ./espeak-ng-data
6771
```
6872

6973
> [!TIP]
@@ -78,7 +82,7 @@ This project is a RESTful API server that creates an audio from a text based on
7882
--header 'Content-Type: application/json' \
7983
--data '{
8084
"model": "piper",
81-
"input": "This is a audio speech test",
85+
"input": "This is an audio speech test",
8286
"response_format": "wav",
8387
"speed": 1.0
8488
}'

0 commit comments

Comments
 (0)