mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-08 13:19:54 +00:00
get XYZ plot to work with recent changes to refined specified in fields of p rather than in settings
This commit is contained in:
@@ -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}')
|
||||
|
@@ -42,7 +42,7 @@ class ScriptRefiner(scripts.ScriptBuiltinUI):
|
||||
# the actual implementation is in sd_samplers_common.py, apply_refiner
|
||||
|
||||
if not enable_refiner or refiner_checkpoint in (None, "", "None"):
|
||||
p.refiner_checkpoint_info = None
|
||||
p.refiner_checkpoint = None
|
||||
p.refiner_switch_at = None
|
||||
else:
|
||||
p.refiner_checkpoint = refiner_checkpoint
|
||||
|
Reference in New Issue
Block a user