Replace Android system TTS engine (#508)
This commit is contained in:
@@ -51,6 +51,7 @@ void PybindOfflineTts(py::module *m) {
|
||||
.def(py::init<const OfflineTtsConfig &>(), py::arg("config"),
|
||||
py::call_guard<py::gil_scoped_release>())
|
||||
.def_property_readonly("sample_rate", &PyClass::SampleRate)
|
||||
.def_property_readonly("num_speakers", &PyClass::NumSpeakers)
|
||||
.def(
|
||||
"generate",
|
||||
[](const PyClass &self, const std::string &text, int64_t sid,
|
||||
|
||||
Reference in New Issue
Block a user