mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-18 02:39:47 +00:00
go : fix "cb" -> "callNewSegment"
This commit is contained in:
parent
5feb0dffba
commit
67564201ec
@ -161,7 +161,7 @@ func (context *context) Process(
|
||||
return ErrInternalAppError
|
||||
}
|
||||
// If the callback is defined then we force on single_segment mode
|
||||
if cb != nil {
|
||||
if callNewSegment != nil {
|
||||
context.params.SetSingleSegment(true)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user