Update README.md
Browse files
README.md
CHANGED
@@ -40,15 +40,15 @@ Kokoro is a frontier TTS model for its size of 82 million parameters (text in/au
|
|
40 |
|
41 |
### JavaScript
|
42 |
|
43 |
-
First, install the `kokoro-
|
44 |
```bash
|
45 |
-
npm i kokoro-
|
46 |
```
|
47 |
|
48 |
You can then generate speech as follows:
|
49 |
|
50 |
```js
|
51 |
-
import { KokoroTTS } from "kokoro-
|
52 |
|
53 |
const model_id = "onnx-community/Kokoro-82M-ONNX";
|
54 |
const tts = await KokoroTTS.from_pretrained(model_id, {
|
|
|
40 |
|
41 |
### JavaScript
|
42 |
|
43 |
+
First, install the `kokoro-js` library from [NPM](https://npmjs.com/package/kokoro-js) using:
|
44 |
```bash
|
45 |
+
npm i kokoro-js
|
46 |
```
|
47 |
|
48 |
You can then generate speech as follows:
|
49 |
|
50 |
```js
|
51 |
+
import { KokoroTTS } from "kokoro-js";
|
52 |
|
53 |
const model_id = "onnx-community/Kokoro-82M-ONNX";
|
54 |
const tts = await KokoroTTS.from_pretrained(model_id, {
|