From 8e740e9897834c77e2475790741b330c18e518dc Mon Sep 17 00:00:00 2001
From: season <season4675@gmail.com>
Date: 星期日, 02 七月 2023 19:38:48 +0800
Subject: [PATCH] [funasr-runtime-deploy 0.0.4] streamline the process, and add command line parameters. (#697)
---
funasr/fileio/npy_scp.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/funasr/fileio/npy_scp.py b/funasr/fileio/npy_scp.py
index 26666b6..2bd5b58 100644
--- a/funasr/fileio/npy_scp.py
+++ b/funasr/fileio/npy_scp.py
@@ -3,7 +3,6 @@
from typing import Union
import numpy as np
-from typeguard import check_argument_types
from funasr.fileio.read_text import read_2column_text
@@ -25,7 +24,6 @@
"""
def __init__(self, outdir: Union[Path, str], scpfile: Union[Path, str]):
- assert check_argument_types()
self.dir = Path(outdir)
self.dir.mkdir(parents=True, exist_ok=True)
scpfile = Path(scpfile)
@@ -73,7 +71,6 @@
"""
def __init__(self, fname: Union[Path, str]):
- assert check_argument_types()
self.fname = Path(fname)
self.data = read_2column_text(fname)
--
Gitblit v1.9.1