Refactor kokoro export (#2302)
- generate samples for https://k2-fsa.github.io/sherpa/onnx/tts/all/ - provide int8 model for kokoro v0.19 kokoro-int8-en-v0_19.tar.bz2
This commit is contained in:
@@ -34,7 +34,7 @@ static void PybindOfflineTtsConfig(py::module *m) {
|
||||
.def(py::init<const OfflineTtsModelConfig &, const std::string &,
|
||||
const std::string &, int32_t, float>(),
|
||||
py::arg("model"), py::arg("rule_fsts") = "",
|
||||
py::arg("rule_fars") = "", py::arg("max_num_sentences") = 2,
|
||||
py::arg("rule_fars") = "", py::arg("max_num_sentences") = 1,
|
||||
py::arg("silence_scale") = 0.2)
|
||||
.def_readwrite("model", &PyClass::model)
|
||||
.def_readwrite("rule_fsts", &PyClass::rule_fsts)
|
||||
|
||||
Reference in New Issue
Block a user