diff --git a/scripts/pixelsmith_ext.py b/scripts/pixelsmith_ext.py index bc73d1e4b..9de00ab99 100644 --- a/scripts/pixelsmith_ext.py +++ b/scripts/pixelsmith_ext.py @@ -46,6 +46,7 @@ class PixelSmithScript(scripts_manager.Script): supported_model_list = ['sdxl'] if shared.sd_model_type not in supported_model_list: log.warning(f'PixelSmith: class={shared.sd_model.__class__.__name__} model={shared.sd_model_type} required={supported_model_list}') + return None from scripts.pixelsmith import PixelSmithXLPipeline, PixelSmithVAE # pylint: disable=no-name-in-module self.orig_pipe = shared.sd_model self.orig_vae = shared.sd_model.vae