From 09372cb279d8dd307acbf8741822219a96792a61 Mon Sep 17 00:00:00 2001 From: "shixian.shi" Date: Wed, 24 Jan 2024 16:10:14 +0800 Subject: [PATCH] fix add_file bug --- funasr/download/download_from_hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funasr/download/download_from_hub.py b/funasr/download/download_from_hub.py index cde4b7d87..c102549df 100644 --- a/funasr/download/download_from_hub.py +++ b/funasr/download/download_from_hub.py @@ -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