Add CXX API for Kokoro TTS 1.0 (#1802)

This commit is contained in:
Fangjun Kuang
2025-02-07 14:51:49 +08:00
committed by GitHub
parent 7330f7519a
commit d815204774
7 changed files with 111 additions and 6 deletions

View File

@@ -343,6 +343,8 @@ struct OfflineTtsKokoroModelConfig {
std::string voices;
std::string tokens;
std::string data_dir;
std::string dict_dir;
std::string lexicon;
float length_scale = 1.0; // < 1, faster in speed; > 1, slower in speed
};