Add scripts for exporting Piper TTS models to sherpa-onnx (#2299)

This commit is contained in:
Fangjun Kuang
2025-06-17 14:23:39 +08:00
committed by GitHub
parent 4ae9382bae
commit 2913cce77c
8 changed files with 1914 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ void PybindOfflineTtsVitsModelConfig(py::module *m) {
.def(py::init<const std::string &, const std::string &,
const std::string &, const std::string &,
const std::string &, float, float, float>(),
py::arg("model"), py::arg("lexicon"), py::arg("tokens"),
py::arg("model"), py::arg("lexicon") = "", py::arg("tokens"),
py::arg("data_dir") = "", py::arg("dict_dir") = "",
py::arg("noise_scale") = 0.667, py::arg("noise_scale_w") = 0.8,
py::arg("length_scale") = 1.0)