mirror of
https://github.com/vladmandic/automatic
synced 2026-09-02 02:50:47 +02:00
fix xyz with control enabled
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -170,7 +170,7 @@ def process_hires(p: processing.StableDiffusionProcessing, output):
|
||||
prev_job = shared.state.job
|
||||
|
||||
# hires runs on original pipeline
|
||||
if hasattr(shared.sd_model, 'restore_pipeline') and (shared.sd_model.restore_pipeline is not None) and not shared.opts.control_hires:
|
||||
if hasattr(shared.sd_model, 'restore_pipeline') and (shared.sd_model.restore_pipeline is not None) and (not shared.opts.control_hires):
|
||||
shared.sd_model.restore_pipeline()
|
||||
|
||||
# upscale
|
||||
|
||||
Reference in New Issue
Block a user