mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-07-23 11:10:57 -05:00
go : fix "cb" -> "callNewSegment"
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user