Update for 1.7.0

Update of the TRT Patch of the original 1.7.0 version of the file
This commit is contained in:
Hitmare 2023-12-23 15:04:20 +00:00
parent cc119297ba
commit 1d24924c3a
1 changed files with 1 additions and 0 deletions

View File

@ -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