fix: adapt whisper to bindings updates (#702)

Signed-off-by: mudler <mudler@localai.io>
renovate/github.com-imdario-mergo-1.x
Ettore Di Giacinto 1 year ago committed by GitHub
parent 0780be022c
commit bf5acf646e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/whisper/whisper.go

@ -73,7 +73,7 @@ func Transcript(model whisper.Model, audiopath, language string, threads uint) (
context.SetLanguage("auto") context.SetLanguage("auto")
} }
if err := context.Process(data, nil); err != nil { if err := context.Process(data, nil, nil); err != nil {
return "", err return "", err
} }

Loading…
Cancel
Save