We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9350460 commit 70c42ffCopy full SHA for 70c42ff
bindings/go/pkg/whisper/context.go
@@ -93,7 +93,7 @@ func (context *context) SetOffset(v time.Duration) {
93
94
// Set duration of audio to process
95
func (context *context) SetDuration(v time.Duration) {
96
- context.params.SetOffset(int(v.Milliseconds()))
+ context.params.SetDuration(int(v.Milliseconds()))
97
}
98
99
// Set timestamp token probability threshold (~0.01)
0 commit comments