Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
|
|
| 72 |
messages[ea].screenshot(f'{ea}-{uid}-tmp.png')
|
| 73 |
messages[ea+1].screenshot(f'{ea+1}-{uid}-tmp.png')
|
| 74 |
if check_h:
|
| 75 |
-
head_paste = get_concat_v_cut(f'head-{uid}-tmp.png',f'{ea}-{uid}-tmp.png')
|
| 76 |
out_box.append(get_concat_v_cut(head_paste,f'{ea+1}-{uid}-tmp.png'))
|
| 77 |
if not check_h:
|
| 78 |
out_box.append(get_concat_v_cut(f'{ea}-{uid}-tmp.png',f'{ea+1}-{uid}-tmp.png'))
|
|
|
|
| 72 |
messages[ea].screenshot(f'{ea}-{uid}-tmp.png')
|
| 73 |
messages[ea+1].screenshot(f'{ea+1}-{uid}-tmp.png')
|
| 74 |
if check_h:
|
| 75 |
+
head_paste = get_concat_v_cut(f'head-{uid}-tmp.png',f'{ea}-{uid}-tmp.png')
|
| 76 |
out_box.append(get_concat_v_cut(head_paste,f'{ea+1}-{uid}-tmp.png'))
|
| 77 |
if not check_h:
|
| 78 |
out_box.append(get_concat_v_cut(f'{ea}-{uid}-tmp.png',f'{ea+1}-{uid}-tmp.png'))
|