From b3fcd42bf6e60372ed0f0d3e53798fcdd713fe08 Mon Sep 17 00:00:00 2001
From: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Date: 星期三, 06 十二月 2023 11:14:57 +0800
Subject: [PATCH] Merge pull request #1144 from yeyupiaoling/main
---
funasr/fileio/read_text.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/funasr/fileio/read_text.py b/funasr/fileio/read_text.py
index e26e7a1..f140c31 100644
--- a/funasr/fileio/read_text.py
+++ b/funasr/fileio/read_text.py
@@ -4,7 +4,6 @@
from typing import List
from typing import Union
-from typeguard import check_argument_types
def read_2column_text(path: Union[Path, str]) -> Dict[str, str]:
@@ -19,7 +18,6 @@
{'key1': '/some/path/a.wav', 'key2': '/some/path/b.wav'}
"""
- assert check_argument_types()
data = {}
with Path(path).open("r", encoding="utf-8") as f:
@@ -47,7 +45,6 @@
>>> d = load_num_sequence_text('text')
>>> np.testing.assert_array_equal(d["key1"], np.array([1, 2, 3]))
"""
- assert check_argument_types()
if loader_type == "text_int":
delimiter = " "
dtype = int
--
Gitblit v1.9.1