mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-09 22:38:59 +08:00
more general case of adding an infotext when no images have been generated
This commit is contained in:
parent
27fdc26a74
commit
a109c7aeb8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user