Omnibus commited on
Commit
480a424
1 Parent(s): 5fd434a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -29,6 +29,8 @@ grid_wide=10
29
 
30
 
31
  def get_concat_h_cut(in1, in2):
 
 
32
  #im1=Image.open(in1)
33
  #im2=Image.open(in2)
34
  im1=in1
@@ -41,10 +43,12 @@ def get_concat_h_cut(in1, in2):
41
 
42
 
43
  def get_concat_v_cut(in1, in2):
44
- #im1=Image.open(in1)
45
- #im2=Image.open(in2)
46
- im1=in1
47
- im2=in2
 
 
48
  dst = Image.new(
49
  'RGB', (min(im1.width, im2.width), im1.height + im2.height))
50
  dst.paste(im1, (0, 0))
 
29
 
30
 
31
  def get_concat_h_cut(in1, in2):
32
+ print(in1)
33
+ print(in2)
34
  #im1=Image.open(in1)
35
  #im2=Image.open(in2)
36
  im1=in1
 
43
 
44
 
45
  def get_concat_v_cut(in1, in2):
46
+ print(in1)
47
+ print(in2)
48
+ im1=Image.open(in1)
49
+ im2=Image.open(in2)
50
+ #im1=in1
51
+ #im2=in2
52
  dst = Image.new(
53
  'RGB', (min(im1.width, im2.width), im1.height + im2.height))
54
  dst.paste(im1, (0, 0))