From 9bc06716c13bfad650b9ec3cc402f0efb58465c0 Mon Sep 17 00:00:00 2001 From: Yingda Chen Date: Sat, 22 Oct 2022 16:30:19 +0800 Subject: [PATCH] [to #42322933] fix typo --- modelscope/utils/registry.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modelscope/utils/registry.py b/modelscope/utils/registry.py index 73e94b3c..d6994bd3 100644 --- a/modelscope/utils/registry.py +++ b/modelscope/utils/registry.py @@ -196,8 +196,7 @@ def build_from_cfg(cfg, raise KeyError( f'{obj_type} is not in the {registry.name}' f' registry group {group_key}. Please make' - f' sure the correct version of 1qqQModelScope library is used.' - ) + f' sure the correct version of ModelScope library is used.') obj_cls.group_key = group_key elif inspect.isclass(obj_type) or inspect.isfunction(obj_type): obj_cls = obj_type