smohan-speech
2023-05-08 af6740a2207840a772261b8a033ab9996f862529
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(std::map<std::string, std::string>& model_path, int thread_num)
{
    Model *mm;
    mm = new paraformer::ModelImp(path, nThread, quantize, use_vad, use_punc);
    mm = new paraformer::Paraformer(model_path, thread_num);
    return mm;
}