From af346ddd4d4486d8d1d1b1622be563a0f790487f Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: 星期六, 06 五月 2023 18:55:32 +0800
Subject: [PATCH] add multiple process test for python websocket client
---
funasr/runtime/python/grpc/grpc_server.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/python/grpc/grpc_server.py b/funasr/runtime/python/grpc/grpc_server.py
index d0be6f0..4fd4f95 100644
--- a/funasr/runtime/python/grpc/grpc_server.py
+++ b/funasr/runtime/python/grpc/grpc_server.py
@@ -109,7 +109,7 @@
else:
asr_result = ""
elif self.backend == "onnxruntime":
- from rapid_paraformer.utils.frontend import load_bytes
+ from funasr_onnx.utils.frontend import load_bytes
array = load_bytes(tmp_data)
asr_result = self.inference_16k_pipeline(array)[0]
end_time = int(round(time.time() * 1000))
--
Gitblit v1.9.1