forked from Hitmare/Eris_api_tensor_patch
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:
parent
cc119297ba
commit
1d24924c3a
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue