francescoKrnl commited on
Commit
c6b02d8
1 Parent(s): b7ab832

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def run(image, item_name):
39
  diff = ImageChops.difference(image, empty_image)
40
  # if image["composite"] is None:
41
  if not diff.getbbox():
42
- ones = Image.new("L", (512, 512), 255)
43
  return ones
44
  print(item_name.split()[1])
45
  prompt = item_name.split()[1] + " professional 3d model. octane render, highly detailed, volumetric, dramatic lighting"
 
39
  diff = ImageChops.difference(image, empty_image)
40
  # if image["composite"] is None:
41
  if not diff.getbbox():
42
+ ones = empty_image
43
  return ones
44
  print(item_name.split()[1])
45
  prompt = item_name.split()[1] + " professional 3d model. octane render, highly detailed, volumetric, dramatic lighting"