From 6406616c2d3fd5eae0201cd4680258f7c4e937dd Mon Sep 17 00:00:00 2001
From: lyblsgo <lyblsgo@163.com>
Date: 星期一, 24 四月 2023 13:04:08 +0800
Subject: [PATCH] rename filenames
---
funasr/runtime/onnxruntime/src/model.cpp | 10 ++++++++++
1 files changed, 10 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..b2a9cd9
--- /dev/null
+++ b/funasr/runtime/onnxruntime/src/model.cpp
@@ -0,0 +1,10 @@
+#include "precomp.h"
+
+Model *CreateModel(const char *path, int nThread, bool quantize, bool use_vad, bool use_punc)
+{
+ Model *mm;
+
+ mm = new paraformer::ModelImp(path, nThread, quantize, use_vad, use_punc);
+
+ return mm;
+}
--
Gitblit v1.9.1