tts.cpp merged and working in kcpp!

This commit is contained in:
Concedo 2025-08-17 18:09:28 +08:00
parent 52606e9b1d
commit bcaf379509
5 changed files with 90 additions and 11 deletions

View file

@ -162,6 +162,7 @@ struct tts_runner * runner_from_file(const std::string & fname, int n_threads, g
}
}
//returns 0 on success
int generate(tts_runner * runner, std::string sentence, struct tts_response * response, generation_configuration * config) {
switch(runner->arch) {
case PARLER_TTS_ARCH: