Akjava commited on
Commit
c418a9e
1 Parent(s): d11c7e8

Update index.html

Browse files
Files changed (1) hide show
  1. 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
- await matcha_tts_raw.load_model('./models/matcha-tts/'+model_name+'.onnx',{ executionProviders: ['webgpu','wasm'] });
 
 
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