tonyassi commited on
Commit
9a20e32
·
verified ·
1 Parent(s): 58580be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def inpaint(ip, image_editor, prompt, neg_prompt, width, height, ip_scale, stren
69
  print(image_editor)
70
  image = image_editor['background'].convert('RGB')
71
  mask = image_editor["layers"][0].convert('RGB')
72
- mask = ImageOps.invert(mask)
73
 
74
  ip.thumbnail((1024, 1024))
75
  image.thumbnail((1024, 1024))
 
69
  print(image_editor)
70
  image = image_editor['background'].convert('RGB')
71
  mask = image_editor["layers"][0].convert('RGB')
72
+ #mask = ImageOps.invert(mask)
73
 
74
  ip.thumbnail((1024, 1024))
75
  image.thumbnail((1024, 1024))