diff --git a/modules/sd_models.py b/modules/sd_models.py index f9094f6e0..cfc2cde78 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -110,7 +110,7 @@ def list_models(): checkpoint_info.register() shared.opts.data['sd_model_checkpoint'] = checkpoint_info.title elif shared.cmd_opts.ckpt != shared.default_sd_model_file: - shared.log.warning(f"Checkpoint not found: {shared.cmd_opts.ckpt}", file=sys.stderr) + shared.log.warning(f"Checkpoint not found: {shared.cmd_opts.ckpt}") for filename in sorted(model_list, key=str.lower): checkpoint_info = CheckpointInfo(filename) checkpoint_info.register()