Skip to content

Commit

Permalink
Merge pull request #7 from bobqianic/fix-go
Browse files Browse the repository at this point in the history
Fix go
  • Loading branch information
bobqianic authored Feb 5, 2024
2 parents 9fbe59f + 891a453 commit 7baa7a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions bindings/go/pkg/whisper/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ func (context *context) SetSpeedup(v bool) {
context.params.SetSpeedup(v)
}

func (context *context) SetSplitOnWord(v bool) {
context.params.SetSplitOnWord(v)
}

// Set number of threads to use
func (context *context) SetThreads(v uint) {
context.params.SetThreads(int(v))
Expand Down
1 change: 0 additions & 1 deletion bindings/go/pkg/whisper/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ type Context interface {
SetDuration(time.Duration) // Set duration
SetThreads(uint) // Set number of threads to use
SetSpeedup(bool) // Set speedup flag
SetSplitOnWord(bool) // Set split on word flag
SetTokenThreshold(float32) // Set timestamp token probability threshold
SetTokenSumThreshold(float32) // Set timestamp token sum probability threshold
SetMaxSegmentLength(uint) // Set max segment length in characters
Expand Down

0 comments on commit 7baa7a6

Please sign in to comment.