basic qwen3 tts working

This commit is contained in:
Concedo
2026-02-21 12:03:53 +08:00
parent 1af7095cb5
commit 72219fdbf5
9 changed files with 137 additions and 119 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ enum tts_arch {
ORPHEUS_ARCH = 3,
};
const std::map<std::string, tts_arch> SUPPORTED_ARCHITECTURES = {
const std::map<std::string, tts_arch> TTSCPP_SUPPORTED_ARCHITECTURES = {
{ "parler-tts", PARLER_TTS_ARCH },
{ "kokoro", KOKORO_ARCH },
{ "dia", DIA_ARCH },
@@ -38,7 +38,7 @@ static std::map<V, K> reverse_map(const std::map<K, V>& m) {
return r;
}
const std::map<tts_arch, std::string> ARCHITECTURE_NAMES = reverse_map(SUPPORTED_ARCHITECTURES);
const std::map<tts_arch, std::string> ARCHITECTURE_NAMES = reverse_map(TTSCPP_SUPPORTED_ARCHITECTURES);
struct generation_configuration {
generation_configuration(