Omnibus commited on
Commit
75f6bf0
·
verified ·
1 Parent(s): 2619c5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,7 +91,8 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
91
  im_roll.save(f'comb-{uid}-tmp.png')
92
  out = f'comb-{uid}-tmp.png'
93
  else:
94
- tmp_im = Image.open(out_box[0]).save(f'comb-{uid}-tmp.png')
 
95
  out = f'comb-{uid}-tmp.png'
96
  if check_h:
97
  head_paste = get_concat_v_cut(f'head-{uid}-tmp.png',f'comb-{uid}-tmp.png')
 
91
  im_roll.save(f'comb-{uid}-tmp.png')
92
  out = f'comb-{uid}-tmp.png'
93
  else:
94
+ tmp_im = Image.open(out_box[0])
95
+ tmp_im.save(f'comb-{uid}-tmp.png')
96
  out = f'comb-{uid}-tmp.png'
97
  if check_h:
98
  head_paste = get_concat_v_cut(f'head-{uid}-tmp.png',f'comb-{uid}-tmp.png')