Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,10 +35,10 @@ grid_wide=10
|
|
35 |
def get_concat_h_cut(in1, in2):
|
36 |
print(in1)
|
37 |
print(in2)
|
38 |
-
|
39 |
-
|
40 |
-
im1=in1
|
41 |
-
im2=in2
|
42 |
dst = Image.new('RGB', (im1.width + im2.width,
|
43 |
min(im1.height, im2.height)))
|
44 |
dst.paste(im1, (0, 0))
|
|
|
35 |
def get_concat_h_cut(in1, in2):
|
36 |
print(in1)
|
37 |
print(in2)
|
38 |
+
im1=Image.open(in1)
|
39 |
+
im2=Image.open(in2)
|
40 |
+
#im1=in1
|
41 |
+
#im2=in2
|
42 |
dst = Image.new('RGB', (im1.width + im2.width,
|
43 |
min(im1.height, im2.height)))
|
44 |
dst.paste(im1, (0, 0))
|