Commit a109c7ae authored by AUTOMATIC1111's avatar AUTOMATIC1111

more general case of adding an infotext when no images have been generated

parent 27fdc26a
......@@ -820,7 +820,6 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
state.skipped = False
if state.interrupted:
infotexts.append(Processed(p, []).infotext(p, 0))
break
sd_models.reload_model_weights() # model can be changed for example by refiner
......@@ -961,6 +960,9 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed:
state.nextjob()
if not infotexts:
infotexts.append(Processed(p, []).infotext(p, 0))
p.color_corrections = None
index_of_first_image = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment