From b78d47f1efb3d0662fce1b8d45a9eb11b3caef02 Mon Sep 17 00:00:00 2001
From: Lizerui9926 <110582652+Lizerui9926@users.noreply.github.com>
Date: 星期三, 26 四月 2023 17:17:52 +0800
Subject: [PATCH] Merge pull request #427 from alibaba-damo-academy/dev_gflags
---
funasr/runtime/onnxruntime/src/model.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/model.cpp b/funasr/runtime/onnxruntime/src/model.cpp
index a582f82..52ce7ba 100644
--- a/funasr/runtime/onnxruntime/src/model.cpp
+++ b/funasr/runtime/onnxruntime/src/model.cpp
@@ -1,8 +1,8 @@
#include "precomp.h"
-Model *CreateModel(const char *path, int thread_num, 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::Paraformer(path, thread_num, quantize, use_vad, use_punc);
+ mm = new paraformer::Paraformer(model_path, thread_num);
return mm;
}
--
Gitblit v1.9.1