model.cpp 237 B

12345678
  1. #include "precomp.h"
  2. Model *CreateModel(const char *path, int thread_num, bool quantize, bool use_vad, bool use_punc)
  3. {
  4. Model *mm;
  5. mm = new paraformer::Paraformer(path, thread_num, quantize, use_vad, use_punc);
  6. return mm;
  7. }