modernize typing

This commit is contained in:
Vladimir Mandic
2026-02-19 09:15:37 +01:00
parent 7aded79e8a
commit bfe014f5da
222 changed files with 1538 additions and 1444 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ def reprocess(gallery):
shared.log.info(f'Reprocessing: latent={latent.shape}')
reprocessed = vae_decode(latent, shared.sd_model, output_type='pil')
outputs = []
for i0, i1 in zip(gallery, reprocessed):
for i0, i1 in zip(gallery, reprocessed, strict=False):
if isinstance(i1, np.ndarray):
i1 = Image.fromarray(i1)
fn = i0['name']