add changes from whisper.cpp update
This commit is contained in:
parent
7c78c128a1
commit
13d44e5881
9 changed files with 536 additions and 140 deletions
|
|
@ -37,6 +37,12 @@ pub enum WhisperError {
|
|||
GenericError(c_int),
|
||||
/// Whisper failed to convert the provided text into tokens.
|
||||
InvalidText,
|
||||
/// Creating a state pointer failed. Check stderr for more information.
|
||||
FailedToCreateState,
|
||||
/// State pointer ID already exists.
|
||||
StateIdAlreadyExists,
|
||||
/// State pointer ID does not exist.
|
||||
StateIdDoesNotExist,
|
||||
}
|
||||
|
||||
impl From<Utf8Error> for WhisperError {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue