From 78e4f729be82b515480759addb64bd8d4e124dca Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期二, 24 十月 2023 19:52:44 +0800
Subject: [PATCH] add check for chunk_size_vec
---
funasr/bin/lm_inference_launch.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/bin/lm_inference_launch.py b/funasr/bin/lm_inference_launch.py
index 236a923..f12f50a 100644
--- a/funasr/bin/lm_inference_launch.py
+++ b/funasr/bin/lm_inference_launch.py
@@ -183,6 +183,7 @@
dtype=dtype,
batch_size=batch_size,
key_file=key_file,
+ preprocess_fn=preprocessor,
num_workers=num_workers,
)
--
Gitblit v1.9.1