Chocobozzz/PeerTube

View on GitHub
packages/transcription/src/whisper/whisper-builtin-model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { TranscriptionModel } from '../transcription-model.js'

export type WhisperBuiltinModelName = 'tiny' | 'base' | 'small' | 'medium' | 'large' | 'large-v2' | 'large-v3'

export class WhisperBuiltinModel extends TranscriptionModel {

  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
  constructor (name: WhisperBuiltinModelName) {
    super(name)
  }
}