mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
fix add_file bug
This commit is contained in:
parent
ec1c46280b
commit
09372cb279
@ -63,7 +63,7 @@ def add_file_root_path(model_or_path: str, file_path_metas: dict, cfg = {}):
|
||||
elif isinstance(v, dict):
|
||||
if k not in cfg:
|
||||
cfg[k] = {}
|
||||
return add_file_root_path(model_or_path, v, cfg[k])
|
||||
add_file_root_path(model_or_path, v, cfg[k])
|
||||
|
||||
return cfg
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user