From c880db53646ab9fd26417f4baf004ab44cc24e1a Mon Sep 17 00:00:00 2001
From: lingji-yidong <75744976+lingji-yidong@users.noreply.github.com>
Date: 星期五, 28 六月 2024 01:28:24 +0800
Subject: [PATCH] Fix: Return tuple ('', []) when char_list is empty to prevent ValueError (#1857)
---
funasr/frontends/windowing.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/funasr/frontends/windowing.py b/funasr/frontends/windowing.py
index 3250550..84ec8e2 100644
--- a/funasr/frontends/windowing.py
+++ b/funasr/frontends/windowing.py
@@ -71,4 +71,4 @@
def output_size(self) -> int:
"""Return output length of feature dimension D, i.e. the window length."""
- return self.win_length
\ No newline at end of file
+ return self.win_length
--
Gitblit v1.9.1