Akjava commited on
Commit
413193c
1 Parent(s): 664b648

Upload matcha_tts_raw.js

Browse files
Files changed (1) hide show
  1. js-esm/matcha_tts_raw.js +2 -2
js-esm/matcha_tts_raw.js CHANGED
@@ -119,7 +119,7 @@ async infer(text, temperature, speed,spks=0) {
119
  }
120
 
121
  try{
122
- console.print("set processing True")
123
  this.processing = true; // try ブロック内で設定
124
 
125
  const dic = this.processText(text);
@@ -169,7 +169,7 @@ return wav_array;
169
  console.error("Inference error:", exception);
170
  return null
171
  }finally{
172
- console.print("set processing False")
173
  this.processing = false;
174
  }
175
  }
 
119
  }
120
 
121
  try{
122
+ console.log("set processing True")
123
  this.processing = true; // try ブロック内で設定
124
 
125
  const dic = this.processText(text);
 
169
  console.error("Inference error:", exception);
170
  return null
171
  }finally{
172
+ console.log("set processing False")
173
  this.processing = false;
174
  }
175
  }