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