From a917d7557dd2b1e5263eeba7e5e4d5a5fc02f69f Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 27 四月 2023 11:41:16 +0800
Subject: [PATCH] websocket
---
funasr/runtime/onnxruntime/src/model.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/model.cpp b/funasr/runtime/onnxruntime/src/model.cpp
index b2a9cd9..a582f82 100644
--- a/funasr/runtime/onnxruntime/src/model.cpp
+++ b/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(const char *path, int thread_num, bool quantize, bool use_vad, bool use_punc)
{
Model *mm;
-
- mm = new paraformer::ModelImp(path, nThread, quantize, use_vad, use_punc);
-
+ mm = new paraformer::Paraformer(path, thread_num, quantize, use_vad, use_punc);
return mm;
}
--
Gitblit v1.9.1