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/tokenizer/cleaner.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/tokenizer/cleaner.py b/funasr/tokenizer/cleaner.py
index 1044f50..882db5c 100644
--- a/funasr/tokenizer/cleaner.py
+++ b/funasr/tokenizer/cleaner.py
@@ -1,6 +1,7 @@
from typing import Collection
from jaconv import jaconv
+
# import tacotron_cleaner.cleaners
try:
--
Gitblit v1.9.1