From 1d24924c3a59ad1f4544b755ff6e020934d6da09 Mon Sep 17 00:00:00 2001 From: Hitmare Date: Sat, 23 Dec 2023 15:04:20 +0000 Subject: [PATCH] Update for 1.7.0 Update of the TRT Patch of the original 1.7.0 version of the file --- TRT-Patch/modules/processing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TRT-Patch/modules/processing.py b/TRT-Patch/modules/processing.py index 389cb84..05479fe 100644 --- a/TRT-Patch/modules/processing.py +++ b/TRT-Patch/modules/processing.py @@ -88,6 +88,7 @@ def create_binary_mask(image): image = image.convert('L') return image + def txt2img_image_conditioning(sd_model, x, width, height): if sd_model.model.conditioning_key in {'hybrid', 'concat'}: # Inpainting models