File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " nodejs-whisper" ,
3- "version" : " 0.1.13 " ,
3+ "version" : " 0.1.15 " ,
44 "description" : " Node bindings for OpenAI's Whisper. Optimized for CPU." ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ export interface IOptions {
1616
1717export async function nodewhisper ( filePath : string , options : IOptions ) {
1818 try {
19- const { verbose = false , removeWavFileAfterTranscription = true } = options
19+ const { verbose = false , removeWavFileAfterTranscription = false } = options
2020
2121 if ( options . autoDownloadModelName ) {
2222 if ( verbose )
2323 console . log (
2424 `[Nodejs-whisper] Checking and downloading model if needed: ${ options . autoDownloadModelName } `
2525 )
26+ console . log ( 'autoDownloadModelName' , options . autoDownloadModelName )
27+ console . log ( 'options' , options )
28+
2629 await autoDownloadModel ( options . autoDownloadModelName , verbose , options . withCuda )
2730 }
2831
You can’t perform that action at this time.
0 commit comments