Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_concat_h_cut(in1, in2, pos_x,pos_y):
|
|
49 |
|
50 |
dst = Image.new('RGB', (im1.width + (im2.width*width_tog), im1.height+(im2.height*pos_y)))
|
51 |
dst.paste(im1, (0, 0))
|
52 |
-
dst.paste(im2, (im2.width*pos_x, im2.height *pos_y))
|
53 |
return dst
|
54 |
|
55 |
|
|
|
49 |
|
50 |
dst = Image.new('RGB', (im1.width + (im2.width*width_tog), im1.height+(im2.height*pos_y)))
|
51 |
dst.paste(im1, (0, 0))
|
52 |
+
dst.paste(im2, (im2.width*(pos_x+1), im2.height *pos_y))
|
53 |
return dst
|
54 |
|
55 |
|