mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: adapt whisper to bindings updates (#702)
Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
parent
0780be022c
commit
bf5acf646e
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ func Transcript(model whisper.Model, audiopath, language string, threads uint) (
|
|||
context.SetLanguage("auto")
|
||||
}
|
||||
|
||||
if err := context.Process(data, nil); err != nil {
|
||||
if err := context.Process(data, nil, nil); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue