remove useless code

Former-commit-id: 323df46dd6a8eaf1fd608380406dcbce80c097b2
This commit is contained in:
yuze.zyz 2023-12-01 17:28:23 +08:00
parent 97280c73b9
commit 389687a56d

View File

@ -50,7 +50,6 @@ def register_model_group(
elif isinstance(path, dict) and "ms" in path:
# Use ModelScope modelhub
SUPPORTED_MODELS[name] = path["ms"]
print(f'Supported models add {name}/{SUPPORTED_MODELS[name]}')
if module is not None:
DEFAULT_MODULE[prefix] = module
if template is not None: