Skip to content

Commit 961be12

Browse files
committed
test: use tiny.en model to speed up download
1 parent 8c5c50c commit 961be12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const filePath = path.resolve(__dirname, AUDIO_FILE)
1010
async function convert() {
1111
try {
1212
await nodewhisper(filePath, {
13-
modelName: 'base.en',
14-
autoDownloadModelName: 'base.en',
13+
modelName: 'tiny.en',
14+
autoDownloadModelName: 'tiny.en',
1515
whisperOptions: {
1616
outputInVtt: true,
1717
// Default is 20 which is too long

0 commit comments

Comments
 (0)