mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
fac8dbd821
commit
77e4b6899b
@ -13,6 +13,8 @@ def build_model(args):
|
||||
model = build_lm_model(args)
|
||||
elif args.task_name == "punc":
|
||||
model = build_punc_model(args)
|
||||
elif args.task_name == "vad":
|
||||
model = build_vad_model(args)
|
||||
else:
|
||||
raise NotImplementedError("Not supported task: {}".format(args.task_name))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user