Skip to content

Commit 7baa7a6

Browse files
authored
Merge pull request ggml-org#7 from bobqianic/fix-go
Fix go
2 parents 9fbe59f + 891a453 commit 7baa7a6

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

bindings/go/pkg/whisper/context.go

-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ func (context *context) SetSpeedup(v bool) {
8181
context.params.SetSpeedup(v)
8282
}
8383

84-
func (context *context) SetSplitOnWord(v bool) {
85-
context.params.SetSplitOnWord(v)
86-
}
87-
8884
// Set number of threads to use
8985
func (context *context) SetThreads(v uint) {
9086
context.params.SetThreads(int(v))

bindings/go/pkg/whisper/interface.go

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ type Context interface {
4242
SetDuration(time.Duration) // Set duration
4343
SetThreads(uint) // Set number of threads to use
4444
SetSpeedup(bool) // Set speedup flag
45-
SetSplitOnWord(bool) // Set split on word flag
4645
SetTokenThreshold(float32) // Set timestamp token probability threshold
4746
SetTokenSumThreshold(float32) // Set timestamp token sum probability threshold
4847
SetMaxSegmentLength(uint) // Set max segment length in characters

0 commit comments

Comments
 (0)