remove useless code

Former-commit-id: 5a2392f105704810e9ce96c13fcc8a555726f9b8
This commit is contained in:
yuze.zyz 2023-12-01 17:28:23 +08:00
parent eb835b693d
commit fcd61657ee

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: