From 2779602177ae5374547c7a7e17de0b11a166326d Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期一, 29 四月 2024 15:08:46 +0800
Subject: [PATCH] Merge branch 'dev_gzf_exp' of github.com:alibaba-damo-academy/FunASR into dev_gzf_exp merge

---
 funasr/tokenizer/token_id_converter.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/funasr/tokenizer/token_id_converter.py b/funasr/tokenizer/token_id_converter.py
index 1888d75..c3fc71d 100644
--- a/funasr/tokenizer/token_id_converter.py
+++ b/funasr/tokenizer/token_id_converter.py
@@ -41,9 +41,7 @@
 
         self.unk_symbol = unk_symbol
         if self.unk_symbol not in self.token2id:
-            raise RuntimeError(
-                f"Unknown symbol '{unk_symbol}' doesn't exist in the token_list"
-            )
+            raise RuntimeError(f"Unknown symbol '{unk_symbol}' doesn't exist in the token_list")
         self.unk_id = self.token2id[self.unk_symbol]
 
     def get_num_vocabulary_size(self) -> int:

--
Gitblit v1.9.1