mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user