mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-11 19:51:33 +00:00
go : NewContext now returns a clean context (#537)
Co-authored-by: Ming <ming@localhost>
This commit is contained in:
@ -94,6 +94,7 @@ func (model *model) NewContext() (Context, error) {
|
||||
params.SetPrintRealtime(false)
|
||||
params.SetPrintTimestamps(false)
|
||||
params.SetThreads(runtime.NumCPU())
|
||||
params.SetNoContext(true)
|
||||
|
||||
// Return new context
|
||||
return newContext(model, params)
|
||||
|
Reference in New Issue
Block a user