diff --git a/funasr/auto/auto_frontend.py b/funasr/auto/auto_frontend.py index ed7ba04440..2a1aa125b5 100644 --- a/funasr/auto/auto_frontend.py +++ b/funasr/auto/auto_frontend.py @@ -20,7 +20,6 @@ from funasr.auto.auto_model import prepare_data_iterator from funasr.utils.timestamp_tools import timestamp_sentence from funasr.download.download_model_from_hub import download_model -from funasr.utils.vad_utils import slice_padding_audio_samples from funasr.train_utils.set_all_random_seed import set_all_random_seed from funasr.train_utils.load_pretrained_model import load_pretrained_model from funasr.utils.load_utils import load_audio_text_image_video, extract_fbank diff --git a/funasr/models/fun_asr_nano/inference_vllm_pipeline.py b/funasr/models/fun_asr_nano/inference_vllm_pipeline.py index 49241bc5b6..5dc816ef74 100644 --- a/funasr/models/fun_asr_nano/inference_vllm_pipeline.py +++ b/funasr/models/fun_asr_nano/inference_vllm_pipeline.py @@ -163,7 +163,6 @@ def generate( def _process_one(self, audio_path, **kwargs): """Process a single audio file through the full pipeline.""" from funasr.utils.load_utils import load_audio_text_image_video - from funasr.utils.vad_utils import slice_padding_audio_samples key = os.path.splitext(os.path.basename(audio_path))[0]