fix IndexError: list index out of range error interrupted while postprocess

This commit is contained in:
Won-Kyu Park 2023-10-14 02:39:04 +09:00
parent 7d60076b8b
commit fbc8d21354
No known key found for this signature in database
GPG Key ID: 53AA79C8C9535D15
1 changed files with 1 additions and 0 deletions

View File

@ -820,6 +820,7 @@ 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