Fix CI for JavaScript and Python APIs. (#901)
This commit is contained in:
@@ -425,7 +425,7 @@ function initSherpaOnnxOfflineWhisperModelConfig(config, Module) {
|
||||
const n = encoderLen + decoderLen + languageLen + taskLen;
|
||||
const buffer = Module._malloc(n);
|
||||
|
||||
const len = 4 * 4; // 4 pointers
|
||||
const len = 5 * 4; // 4 pointers
|
||||
const ptr = Module._malloc(len);
|
||||
|
||||
let offset = 0;
|
||||
|
||||
@@ -27,7 +27,7 @@ function initSherpaOnnxOfflineTtsVitsModelConfig(config, Module) {
|
||||
|
||||
const buffer = Module._malloc(n);
|
||||
|
||||
const len = 7 * 4;
|
||||
const len = 8 * 4;
|
||||
const ptr = Module._malloc(len);
|
||||
|
||||
let offset = 0;
|
||||
|
||||
Reference in New Issue
Block a user