Rename maxNumStences to maxNumSentences (#1625)
This commit is contained in:
@@ -14,7 +14,7 @@ function createOfflineTts() {
|
||||
numThreads: 1,
|
||||
provider: 'cpu',
|
||||
},
|
||||
maxNumStences: 1,
|
||||
maxNumSentences: 1,
|
||||
};
|
||||
return new sherpa_onnx.OfflineTts(config);
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ function createOfflineTts() {
|
||||
numThreads: 1,
|
||||
provider: 'cpu',
|
||||
},
|
||||
maxNumStences: 1,
|
||||
maxNumSentences: 1,
|
||||
};
|
||||
return new sherpa_onnx.OfflineTts(config);
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user