mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
fix restore pipeline
This commit is contained in:
@@ -316,6 +316,10 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
|
||||
def infotext(index): # pylint: disable=function-redefined # noqa: F811
|
||||
return create_infotext(p, p.prompts, p.seeds, p.subseeds, index=index, all_negative_prompts=p.negative_prompts)
|
||||
|
||||
if hasattr(shared.sd_model, 'restore_pipeline') and shared.sd_model.restore_pipeline is not None:
|
||||
print('HERE')
|
||||
shared.sd_model.restore_pipeline()
|
||||
|
||||
for i, x_sample in enumerate(x_samples_ddim):
|
||||
p.batch_index = i
|
||||
if type(x_sample) == Image.Image:
|
||||
|
||||
Reference in New Issue
Block a user