mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
Fixed some GGUFv1 loading bugs, long overdue cleanup for compiling, integrated TTS
tts is functional (+6 squashed commit) Squashed commit: [22396311] wip tts [3a883027] tts not yet working [0dcfab0e] fix silly bug [a378d9ef] some long overdue cleanup [fc5a6fb5] Wip tts [39f50497] wip TTS integration
This commit is contained in:
parent
12cdcf0abe
commit
b3de1598e7
17 changed files with 1175 additions and 271 deletions
|
@ -238,6 +238,15 @@ extern "C"
|
|||
return whispertype_generate(inputs);
|
||||
}
|
||||
|
||||
bool tts_load_model(const tts_load_model_inputs inputs)
|
||||
{
|
||||
return ttstype_load_model(inputs);
|
||||
}
|
||||
tts_generation_outputs tts_generate(const tts_generation_inputs inputs)
|
||||
{
|
||||
return ttstype_generate(inputs);
|
||||
}
|
||||
|
||||
const char * new_token(int idx) {
|
||||
if (generated_tokens.size() <= idx || idx < 0) return nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue