mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-21 13:54:29 -04:00
fix: adapt whisper to bindings updates (#702)
Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
1 parent
0780be022c
commit
bf5acf646e
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user