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