From 7ab2e5cf22bbb31808bcacf84c054c710e4e6a93 Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期一, 24 四月 2023 16:19:17 +0800
Subject: [PATCH] Merge pull request #400 from alibaba-damo-academy/dev_knf
---
funasr/runtime/onnxruntime/src/model.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/model.cpp b/funasr/runtime/onnxruntime/src/model.cpp
new file mode 100644
index 0000000..a582f82
--- /dev/null
+++ b/funasr/runtime/onnxruntime/src/model.cpp
@@ -0,0 +1,8 @@
+#include "precomp.h"
+
+Model *CreateModel(const char *path, int thread_num, bool quantize, bool use_vad, bool use_punc)
+{
+ Model *mm;
+ mm = new paraformer::Paraformer(path, thread_num, quantize, use_vad, use_punc);
+ return mm;
+}
--
Gitblit v1.9.1