From 6c5271b91101113ebb998e77443d1536ddf929ad Mon Sep 17 00:00:00 2001
From: zhaomingwork <zhaomingwork@qq.com>
Date: 星期五, 12 五月 2023 15:37:34 +0800
Subject: [PATCH] modified ws_clinet.py to parallel handle wavs in diff process
---
funasr/runtime/onnxruntime/include/offline-stream.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/offline-stream.h b/funasr/runtime/onnxruntime/include/offline-stream.h
index caa4ea6..a9ce88e 100644
--- a/funasr/runtime/onnxruntime/include/offline-stream.h
+++ b/funasr/runtime/onnxruntime/include/offline-stream.h
@@ -8,6 +8,7 @@
#include "punc-model.h"
#include "vad-model.h"
+namespace funasr {
class OfflineStream {
public:
OfflineStream(std::map<std::string, std::string>& model_path, int thread_num);
@@ -25,4 +26,5 @@
};
OfflineStream *CreateOfflineStream(std::map<std::string, std::string>& model_path, int thread_num=1);
+} // namespace funasr
#endif
--
Gitblit v1.9.1