whisper-onnx-speech-to-text
Version:
Node.js plugin for speech recognition that works with OpenAI's Whisper models using ONNX.
15 lines (12 loc) • 408 B
text/typescript
export const DEFAULT_MODEL = "base.en";
export const NODE_MODULES_MODELS_PATH = "node_modules/whisper-onnx-speech-to-text/models";
export const MODELS_LIST = {
"tiny": "whisper-tiny",
"tiny.en": "whisper-tiny.en",
"base": "whisper-base",
"base.en": "whisper-base.en",
"small": "whisper-small",
"small.en": "whisper-small.en",
"medium": "whisper-medium",
"medium.en": "whisper-medium.en"
};