whisper_init_from_file_with_params method

Pointer<whisper_context> whisper_init_from_file_with_params(
  1. Pointer<Char> path_model,
  2. whisper_context_params params
)

Various functions for loading a ggml whisper model. Allocate (almost) all memory needed for the model. Return NULL on failure

Implementation

ffi.Pointer<whisper_context> whisper_init_from_file_with_params(
  ffi.Pointer<ffi.Char> path_model,
  whisper_context_params params,
) {
  return _whisper_init_from_file_with_params(
    path_model,
    params,
  );
}