From 365c820d66b138d6ec2308d8173267ac42163b9f Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 27 五月 2024 16:27:06 +0800
Subject: [PATCH] restore run_server.sh
---
runtime/onnxruntime/src/paraformer-torch.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/runtime/onnxruntime/src/paraformer-torch.cpp b/runtime/onnxruntime/src/paraformer-torch.cpp
index 9ac0cf7..113d43f 100644
--- a/runtime/onnxruntime/src/paraformer-torch.cpp
+++ b/runtime/onnxruntime/src/paraformer-torch.cpp
@@ -373,6 +373,9 @@
}
}
results.push_back(result);
+ if (wfst_decoder){
+ wfst_decoder->StartUtterance();
+ }
}
}
catch (std::exception const &e)
--
Gitblit v1.9.1