haoneng.lhn
2023-04-25 16e5306d00c8583bb3c7d588e04822b54023e2cd
funasr/runtime/onnxruntime/src/model.cpp
@@ -1,10 +1,8 @@
#include "precomp.h"
Model *CreateModel(const char *path, int nThread, bool quantize, bool use_vad, bool use_punc)
Model *CreateModel(const char *path, int thread_num, bool quantize, bool use_vad, bool use_punc)
{
    Model *mm;
    mm = new paraformer::ModelImp(path, nThread, quantize, use_vad, use_punc);
    mm = new paraformer::Paraformer(path, thread_num, quantize, use_vad, use_punc);
    return mm;
}