Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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])
|
|
|
|
| 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')
|