mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-07-23 11:10:57 -05:00
go : reset context.n in Process() (#3503)
This commit is contained in:
@@ -237,6 +237,9 @@ func (context *context) Process(
|
||||
return err
|
||||
}
|
||||
|
||||
// Reset n so that more Segments can be available within NextSegment call
|
||||
context.n = 0
|
||||
|
||||
// Return success
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user