1
0
mirror of https://github.com/ggerganov/whisper.cpp.git synced 2025-07-16 05:45:31 +02:00

go : fix "cb" -> "callNewSegment"

This commit is contained in:
Georgi Gerganov
2023-06-25 14:34:10 +03:00
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)
}