We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb6a64 commit 7b91071Copy full SHA for 7b91071
1 file changed
worker.js
@@ -22,8 +22,8 @@ if (self.location.hostname === "localhost2") {
22
}
23
24
const tts = await KokoroTTS.from_pretrained(model_id, {
25
- dtype: device === "wasm" ? "q8" : "fp32",
26
- device,
+ //dtype: device === "wasm" ? "q8" : "fp32", device,
+ dtype: "fp16",
27
progress_callback: (progress) => {
28
self.postMessage({ status: "loading_model_progress", progress });
29
0 commit comments