generated from remotion-dev/template-next-app-dir-tailwind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhisper-config.mjs
27 lines (23 loc) · 850 Bytes
/
whisper-config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import path from 'node:path';
// Where to install Whisper.cpp to
export const WHISPER_PATH = path.join(process.cwd(), 'whisper.cpp');
// The version of Whisper.cpp to install
export const WHISPER_VERSION = '1.5.5';
// Which model to use.
// | Model | Disk | Mem |
// |------------|--------|----------|
// | tiny | 75 MB | ~390 MB |
// | tiny.en | 75 MB | ~390 MB |
// | base | 142 MB | ~500 MB |
// | base.en | 142 MB | ~500 MB |
// | small | 466 MB | ~1.0 GB |
// | small.en | 466 MB | ~1.0 GB |
// | medium | 1.5 GB | ~2.6 GB |
// | medium.en | 1.5 GB | ~2.6 GB |
// | large-v1 | 2.9 GB | ~4.7 GB |
// | large-v2 | 2.9 GB | ~4.7 GB |
// | large | 2.9 GB | ~4.7 GB |
/**
* @type {import('@remotion/install-whisper-cpp').WhisperModel}
*/
export const WHISPER_MODEL = 'medium.en';