From 6f3b508485b8ab3817b315944730d8421c0b0b80 Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期五, 02 六月 2023 13:02:29 +0800
Subject: [PATCH] For python ws online asr slow problem (#582)

---
 funasr/runtime/onnxruntime/src/funasr-onnx-offline-rtf.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/funasr-onnx-offline-rtf.cpp b/funasr/runtime/onnxruntime/src/funasr-onnx-offline-rtf.cpp
index cf1469d..2d182e0 100644
--- a/funasr/runtime/onnxruntime/src/funasr-onnx-offline-rtf.cpp
+++ b/funasr/runtime/onnxruntime/src/funasr-onnx-offline-rtf.cpp
@@ -191,6 +191,6 @@
     LOG(INFO) << "total_rtf " << (double)total_time/ (total_length*1000000);
     LOG(INFO) << "speedup " << 1.0/((double)total_time/ (total_length*1000000));
 
-    FunASRUninit(asr_handle);
+    FunOfflineUninit(asr_handle);
     return 0;
 }

--
Gitblit v1.9.1