mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
initial whisper integration
This commit is contained in:
parent
4ed9ba7352
commit
f24aef8792
10 changed files with 16204 additions and 16 deletions
20
expose.h
20
expose.h
|
@ -142,6 +142,26 @@ struct sd_generation_outputs
|
|||
int status = -1;
|
||||
const char * data = "";
|
||||
};
|
||||
struct whisper_load_model_inputs
|
||||
{
|
||||
const char * model_filename;
|
||||
const char * executable_path;
|
||||
const int clblast_info = 0;
|
||||
const int cublas_info = 0;
|
||||
const char * vulkan_info;
|
||||
const int debugmode = 0;
|
||||
};
|
||||
struct whisper_generation_inputs
|
||||
{
|
||||
const char * prompt;
|
||||
const char * audio_data;
|
||||
const bool quiet = false;
|
||||
};
|
||||
struct whisper_generation_outputs
|
||||
{
|
||||
int status = -1;
|
||||
const char * text = "";
|
||||
};
|
||||
|
||||
extern std::string executable_path;
|
||||
extern std::string lora_filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue