From 004ae1e542a6417f496ec6db2e0d7ce9218fc61d Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期六, 22 四月 2023 20:06:50 +0800
Subject: [PATCH] Merge pull request #402 from zhuzizyf/dev_knf
---
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 7ddb635..2f864a9 100644
--- a/funasr/runtime/onnxruntime/src/Model.cpp
+++ b/funasr/runtime/onnxruntime/src/Model.cpp
@@ -1,10 +1,10 @@
#include "precomp.h"
-Model *create_model(const char *path, int nThread, bool quantize)
+Model *create_model(const char *path, int nThread, bool quantize, bool use_vad)
{
Model *mm;
- mm = new paraformer::ModelImp(path, nThread, quantize);
+ mm = new paraformer::ModelImp(path, nThread, quantize, use_vad);
return mm;
}
--
Gitblit v1.9.1