Add spoken language identification for node-addon-api (#872)

This commit is contained in:
Fangjun Kuang
2024-05-13 20:26:11 +08:00
committed by GitHub
parent 031134b4d4
commit 939fdd942c
13 changed files with 445 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ function createVad() {
return new sherpa_onnx.Vad(config, bufferSizeInSeconds);
}
vad = createVad();
const vad = createVad();
const bufferSizeInSeconds = 30;
const buffer =