Files
melMass-comfy_mtb/errors.py
T
melMass bcac66508d refactor: ⚡️ small local fixes
made while writting wiki
2023-10-21 03:14:12 +02:00

8 lines
329 B
Python

class ModelNotFound(Exception):
def __init__(self, model_name, *args, **kwargs):
super().__init__(
f"The model {model_name} could not be found, make sure to download it using ComfyManager first.\nrepository: https://github.com/ltdrdata/ComfyUI-Manager",
*args,
**kwargs,
)