Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ def run_script(url: str, height: int, width: int, check_b,check_h):
|
|
| 82 |
except Exception:
|
| 83 |
mes="<center>Some blocks returned an error"
|
| 84 |
if out_box:
|
| 85 |
-
for i in range(len(out_box)-2):
|
| 86 |
if i == 0:
|
| 87 |
im_roll = get_concat_v_cut(f'{out_box[i]}',f'{out_box[i+1]}')
|
| 88 |
im_roll.save(f'comb-{uid}-tmp.png')
|
|
|
|
| 82 |
except Exception:
|
| 83 |
mes="<center>Some blocks returned an error"
|
| 84 |
if out_box:
|
| 85 |
+
for i in range(0,len(out_box)-2):
|
| 86 |
if i == 0:
|
| 87 |
im_roll = get_concat_v_cut(f'{out_box[i]}',f'{out_box[i+1]}')
|
| 88 |
im_roll.save(f'comb-{uid}-tmp.png')
|