Documentation
¶
Index ¶
- func DeleteModelById(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper, ...)
- func DownloadModel(ctx context.Context, w http.ResponseWriter, r *http.Request, ...)
- func GetModelById(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper, ...)
- func ListModels(ctx context.Context, w http.ResponseWriter, service *whisper.Whisper)
- func RegisterEndpoints(base string, mux *http.ServeMux, whisper *whisper.Whisper)
- func TranscribeFile(ctx context.Context, service *whisper.Whisper, w http.ResponseWriter, ...)
- type ResponseFormat
- type TaskType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteModelById ¶
func DownloadModel ¶
func GetModelById ¶
func ListModels ¶
func RegisterEndpoints ¶
Types ¶
type ResponseFormat ¶ added in v0.0.15
type ResponseFormat string
const ( FormatJson ResponseFormat = "json" FormatText ResponseFormat = "text" FormatSrt ResponseFormat = "srt" FormatVerboseJson ResponseFormat = "verbose_json" FormatVtt ResponseFormat = "vtt" )
Click to show internal directories.
Click to hide internal directories.