Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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[
|
| 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)
|