transcribe

package
v1.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transcript

func Transcript(model whisper.Model, audiopath, language string, threads uint) (schema.Result, error)

Types

type Whisper

type Whisper struct {
	base.SingleThread
	// contains filtered or unexported fields
}

func (*Whisper) AudioTranscription

func (sd *Whisper) AudioTranscription(opts *pb.TranscriptRequest) (schema.Result, error)

func (*Whisper) Load

func (sd *Whisper) Load(opts *pb.ModelOptions) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL