diff --git a/README.md b/README.md index f82c0ff..9921e54 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ console.log(transcript); // output: [ {start,end,speech} ] ### Full Options List ```javascript -import whisper from 'whisper-node'; +import { whisper } from 'whisper-node'; const filePath = "example/sample.wav"; // required @@ -60,7 +60,7 @@ const options = { modelName: "base.en", // default // modelPath: "/custom/path/to/model.bin", // use model in a custom directory (cannot use along with 'modelName') whisperOptions: { - language: 'auto' // default (use 'auto' for auto detect) + language: 'auto', // default (use 'auto' for auto detect) gen_file_txt: false, // outputs .txt file gen_file_subtitle: false, // outputs .srt file gen_file_vtt: false, // outputs .vtt file