Rename maxNumStences to maxNumSentences (#1625)

This commit is contained in:
sawich
2024-12-16 16:37:59 +02:00
committed by GitHub
parent ed8d8e41f9
commit 5cc60de5c9
4 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ function createOfflineTts() {
numThreads: 1,
provider: 'cpu',
},
maxNumStences: 1,
maxNumSentences: 1,
};
return new sherpa_onnx.OfflineTts(config);
}

View File

@@ -15,7 +15,7 @@ function createOfflineTts() {
numThreads: 1,
provider: 'cpu',
},
maxNumStences: 1,
maxNumSentences: 1,
};
return new sherpa_onnx.OfflineTts(config);
}

View File

@@ -15,7 +15,7 @@ function createOfflineTts() {
numThreads: 1,
provider: 'cpu',
},
maxNumStences: 1,
maxNumSentences: 1,
ruleFsts:
'./vits-icefall-zh-aishell3/date.fst,./vits-icefall-zh-aishell3/phone.fst,./vits-icefall-zh-aishell3/number.fst,./vits-icefall-zh-aishell3/new_heteronym.fst',
ruleFars: './vits-icefall-zh-aishell3/rule.far',

View File

@@ -16,7 +16,7 @@ function createOfflineTts() {
numThreads: 1,
provider: 'cpu',
},
maxNumStences: 1,
maxNumSentences: 1,
ruleFsts:
'./sherpa-onnx-vits-zh-ll/date.fst,./sherpa-onnx-vits-zh-ll/phone.fst,./sherpa-onnx-vits-zh-ll/number.fst',
};