mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
support resample for vad inference pipeline
This commit is contained in:
parent
8c904ecadd
commit
e62eaed724
@ -90,6 +90,7 @@ def inference_vad(
|
||||
preprocess_args=None,
|
||||
data_path_and_name_and_type=data_path_and_name_and_type,
|
||||
dtype=dtype,
|
||||
fs=fs,
|
||||
batch_size=batch_size,
|
||||
key_file=key_file,
|
||||
num_workers=num_workers,
|
||||
@ -189,6 +190,7 @@ def inference_vad_online(
|
||||
preprocess_args=None,
|
||||
data_path_and_name_and_type=data_path_and_name_and_type,
|
||||
dtype=dtype,
|
||||
fs=fs,
|
||||
batch_size=batch_size,
|
||||
key_file=key_file,
|
||||
num_workers=num_workers,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user