From 98abc0e5ac1a1da0fe1802d9ffb623802fbf0b2f Mon Sep 17 00:00:00 2001
From: jmwang66 <wangjiaming.wjm@alibaba-inc.com>
Date: 星期四, 29 六月 2023 16:30:39 +0800
Subject: [PATCH] update setup (#686)
---
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