UNPKG

node-diarization

Version:

Transcription and diarization using Whisper and Pyannote with NodeJS

47 lines (46 loc) 943 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RECOGNITION_PYDATA_DELIMITER = exports.WHISPER_MODELS = exports.DEFAULT_OPTIONS = exports.TASKS = void 0; exports.TASKS = [ 'diarization', 'recognition', ]; exports.DEFAULT_OPTIONS = { python: { var: 'python', }, recognition: { model: 'tiny', beam_size: 5, }, shell: { silent: true, }, checks: { proceed: false, diarization: true, recognition: true, }, consoleTextInfo: true, }; exports.WHISPER_MODELS = [ 'tiny.en', 'tiny', 'base.en', 'base', 'small.en', 'small', 'medium.en', 'medium', 'large-v1', 'large-v2', 'large-v3', 'large', 'distil-large-v2', 'distil-medium.en', 'distil-small.en', 'distil-large-v3', 'large-v3-turbo', 'turbo', ]; exports.RECOGNITION_PYDATA_DELIMITER = '|||';