mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
vad
This commit is contained in:
parent
d783b24ba7
commit
8f8484bfa3
@ -110,8 +110,7 @@ def inference_launch(mode, **kwargs):
|
||||
if mode == "offline":
|
||||
from funasr.bin.vad_inference import inference_modelscope
|
||||
return inference_modelscope(**kwargs)
|
||||
# elif mode == "online":
|
||||
if "param_dict" in kwargs and kwargs["param_dict"]["online"]:
|
||||
elif mode == "online":
|
||||
from funasr.bin.vad_inference_online import inference_modelscope
|
||||
return inference_modelscope(**kwargs)
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user