Skip to content

Commit

Permalink
Rename maxNumStences to maxNumSentences (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
sawich authored Dec 16, 2024
1 parent ed8d8e4 commit 5cc60de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function createOfflineTts() {
numThreads: 1,
provider: 'cpu',
},
maxNumStences: 1,
maxNumSentences: 1,
};
return new sherpa_onnx.OfflineTts(config);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function createOfflineTts() {
numThreads: 1,
provider: 'cpu',
},
maxNumStences: 1,
maxNumSentences: 1,
};
return new sherpa_onnx.OfflineTts(config);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion nodejs-addon-examples/test_tts_non_streaming_vits_zh_ll.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Expand Down

0 comments on commit 5cc60de

Please sign in to comment.