funasr/bin/asr_inference_uniasr.py
@@ -37,9 +37,6 @@ from funasr.models.frontend.wav_frontend import WavFrontend header_colors = '\033[95m' end_colors = '\033[0m' class Speech2Text: """Speech2Text class @@ -382,6 +379,8 @@ **kwargs, ): assert check_argument_types() ncpu = kwargs.get("ncpu", 1) torch.set_num_threads(ncpu) if batch_size > 1: raise NotImplementedError("batch decoding is not implemented") if word_lm_train_config is not None: