get XYZ plot to work with recent changes to refined specified in fields of p rather than in settings

This commit is contained in:
AUTOMATIC1111
2023-08-15 08:27:50 +03:00
parent d6b79b9963
commit 7e77a38cbc
3 changed files with 7 additions and 15 deletions

View File

@@ -746,7 +746,7 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
if p.tiling is None:
p.tiling = opts.tiling
if p.refiner_checkpoint not in (None, "", "None"):
if p.refiner_checkpoint not in (None, "", "None", "none"):
p.refiner_checkpoint_info = sd_models.get_closet_checkpoint_match(p.refiner_checkpoint)
if p.refiner_checkpoint_info is None:
raise Exception(f'Could not find checkpoint with name {p.refiner_checkpoint}')