From 3dcaa9df2f056fefd87736f1cd1cd32679018ba9 Mon Sep 17 00:00:00 2001
From: zhaomingwork <zhaomingwork@qq.com>
Date: 星期六, 13 五月 2023 07:30:05 +0800
Subject: [PATCH] fix NoneType bug for ws_client.py microphone mode
---
funasr/utils/postprocess_utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/utils/postprocess_utils.py b/funasr/utils/postprocess_utils.py
index b607e1d..f4efea6 100644
--- a/funasr/utils/postprocess_utils.py
+++ b/funasr/utils/postprocess_utils.py
@@ -242,4 +242,4 @@
if ch != ' ':
real_word_lists.append(ch)
sentence = ''.join(word_lists).strip()
- return sentence, real_word_lists
+ return sentence, real_word_lists
\ No newline at end of file
--
Gitblit v1.9.1