Update index.html
Browse files- index.html +3 -1
index.html
CHANGED
@@ -41,7 +41,9 @@
|
|
41 |
if(!matcha_tts_raw){
|
42 |
matcha_tts_raw = new MatchaTTSRaw()
|
43 |
console.time("load model");
|
44 |
-
|
|
|
|
|
45 |
|
46 |
console.timeEnd("load model");
|
47 |
|
|
|
41 |
if(!matcha_tts_raw){
|
42 |
matcha_tts_raw = new MatchaTTSRaw()
|
43 |
console.time("load model");
|
44 |
+
model_path = './models/matcha-tts/'+model_name+'.onnx'
|
45 |
+
console.log(model_path)
|
46 |
+
await matcha_tts_raw.load_model(model_path,{ executionProviders: ['webgpu','wasm'] });
|
47 |
|
48 |
console.timeEnd("load model");
|
49 |
|