Anustup commited on
Commit
60bd22a
·
verified ·
1 Parent(s): 3953b0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ with texture_correct:
38
  product_image_n = Image.open(generated_image)
39
  product_image_dim = product_image_n.size
40
  x_dim = product_image_dim[0]
41
- y_dim = product_image_dim[0]
42
  create_image_tile(product_image, x_dim, y_dim)
43
  overlay = create_layover(generated_image, 'tiled_image.png', opacity)
44
  create_image_cutout('lay_over_image.png', gen_image_mask)
 
38
  product_image_n = Image.open(generated_image)
39
  product_image_dim = product_image_n.size
40
  x_dim = product_image_dim[0]
41
+ y_dim = product_image_dim[1]
42
  create_image_tile(product_image, x_dim, y_dim)
43
  overlay = create_layover(generated_image, 'tiled_image.png', opacity)
44
  create_image_cutout('lay_over_image.png', gen_image_mask)