@flownet/lib-whisper-speech-to-text
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -13,3 +13,10 @@ 'use strict'; | ||
var toYargs = (yargs) => { | ||
return yargs.options({}); | ||
return yargs.options({ | ||
model: { | ||
type: "string", | ||
default: "tiny", | ||
describe: | ||
"The model to use for speech recognition. The default is `tiny`, which is\na small model that is fast to load and works well for short utterances.\nThe `large` model is more accurate, but takes longer to load and is\nslower to run.\n", | ||
}, | ||
}); | ||
}; | ||
@@ -16,0 +23,0 @@ |
@@ -11,3 +11,10 @@ import shelljs from 'shelljs'; | ||
var toYargs = (yargs) => { | ||
return yargs.options({}); | ||
return yargs.options({ | ||
model: { | ||
type: "string", | ||
default: "tiny", | ||
describe: | ||
"The model to use for speech recognition. The default is `tiny`, which is\na small model that is fast to load and works well for short utterances.\nThe `large` model is more accurate, but takes longer to load and is\nslower to run.\n", | ||
}, | ||
}); | ||
}; | ||
@@ -14,0 +21,0 @@ |
@@ -12,3 +12,10 @@ var LIB_WHISPER_SPEECH_TO_TEXT = (function (shelljs) { | ||
var toYargs = (yargs) => { | ||
return yargs.options({}); | ||
return yargs.options({ | ||
model: { | ||
type: "string", | ||
default: "tiny", | ||
describe: | ||
"The model to use for speech recognition. The default is `tiny`, which is\na small model that is fast to load and works well for short utterances.\nThe `large` model is more accurate, but takes longer to load and is\nslower to run.\n", | ||
}, | ||
}); | ||
}; | ||
@@ -15,0 +22,0 @@ |
{ | ||
"name": "@flownet/lib-whisper-speech-to-text", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "dist/*", |
3219
84