hitmare-patch-1 #2

Merged
Hitmare merged 7 commits from hitmare-patch-1 into main 2023-12-23 15:10:34 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 1d24924c3a - Show all commits

View File

@ -88,6 +88,7 @@ def create_binary_mask(image):
image = image.convert('L') image = image.convert('L')
return image return image
def txt2img_image_conditioning(sd_model, x, width, height): def txt2img_image_conditioning(sd_model, x, width, height):
if sd_model.model.conditioning_key in {'hybrid', 'concat'}: # Inpainting models if sd_model.model.conditioning_key in {'hybrid', 'concat'}: # Inpainting models