From 1ef5436833ae5438ff4bba5cf586f041cc711e21 Mon Sep 17 00:00:00 2001 From: DenOfEquity <166248528+DenOfEquity@users.noreply.github.com> Date: Thu, 17 Oct 2024 20:23:42 +0100 Subject: [PATCH] add .avif to extensions for img2img batch (#2102) --- modules/img2img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/img2img.py b/modules/img2img.py index 1658cab6..737794dc 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -22,7 +22,7 @@ def process_batch(p, input, output_dir, inpaint_mask_dir, args, to_scale=False, processing.fix_seed(p) if isinstance(input, str): - batch_images = list(shared.walk_files(input, allowed_extensions=(".png", ".jpg", ".jpeg", ".webp", ".tif", ".tiff"))) + batch_images = list(shared.walk_files(input, allowed_extensions=(".png", ".jpg", ".jpeg", ".webp", ".tif", ".tiff", ".avif"))) else: batch_images = [os.path.abspath(x.name) for x in input]