Skip to content

Can't get JSON file #120

@alexIV-0

Description

@alexIV-0
  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.

P.S. I'm running it on mac os. so I can't use CUDA
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions