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/auto/auto_tokenizer.py | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/funasr/auto/auto_tokenizer.py b/funasr/auto/auto_tokenizer.py
index d5082e2..59ff889 100644
--- a/funasr/auto/auto_tokenizer.py
+++ b/funasr/auto/auto_tokenizer.py
@@ -1,8 +1,7 @@
-
-
class AutoTokenizer:
- """
- Undo
- """
- def __init__(self):
- pass
\ No newline at end of file
+ """
+ Undo
+ """
+
+ def __init__(self):
+ pass
--
Gitblit v1.9.1