-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
const options = {
modelName: 'small.en', //Downloaded models name
autoDownloadModelName: 'small.en', // (optional) autodownload a model if model is not present
verbose: true, // (optional) output more dubugging information
removeWavFileAfterTranscription: false, // (optional) remove wav file once transcribed
withCuda: false, // (optional) use cuda for faster processing
whisperOptions: {
outputInCsv: false, // get output result in csv file
outputInJson: true, // get output result in json file
outputInJsonFull: false, // get output result in json file including more information
outputInLrc: false, // get output result in lrc file
outputInSrt: true, // get output result in srt file
outputInText: false, // get output result in txt file
outputInVtt: true, // get output result in vtt file
outputInWords: true, // get output result in wts file for karaoke
translateToEnglish: false, // translate from source language to english
wordTimestamps: true, // word-level timestamps
timestamps_length: 30, // amount of dialogue per timestamp pair
splitOnWord: true, // split on word rather than on token
},
};
I set in the settings that would get a json file (at least just to understand that it suits me), but the file is not created.
srt, vtt, csv, txt - it is there, but JSON, lrc, wts I can't get it
and I can't get a timestamp for the words
if you can give me an example of what it looks like, I'll know if I need it or not.
MrSwitch
Metadata
Metadata
Assignees
Labels
No labels