From e62eaed72420c252246f95f2d026e935f6fc00e2 Mon Sep 17 00:00:00 2001
From: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Date: 星期一, 06 十一月 2023 17:12:01 +0800
Subject: [PATCH] support resample for vad inference pipeline
---
funasr/runtime/websocket/bin/funasr-wss-client.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/websocket/bin/funasr-wss-client.cpp b/funasr/runtime/websocket/bin/funasr-wss-client.cpp
index a38b667..39a3e67 100644
--- a/funasr/runtime/websocket/bin/funasr-wss-client.cpp
+++ b/funasr/runtime/websocket/bin/funasr-wss-client.cpp
@@ -238,7 +238,7 @@
nlohmann::json jsonbegin;
nlohmann::json chunk_size = nlohmann::json::array();
chunk_size.push_back(5);
- chunk_size.push_back(0);
+ chunk_size.push_back(10);
chunk_size.push_back(5);
jsonbegin["chunk_size"] = chunk_size;
jsonbegin["chunk_interval"] = 10;
--
Gitblit v1.9.1