Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -118,10 +118,10 @@ def run_dif_color(out_prompt,im_path,model_drop,tint,im_height,im_width):
|
|
118 |
if len(out_box)>1:
|
119 |
#im_roll = get_concat_v_cut(f'{out_box[0]}',f'{out_box[1]}')
|
120 |
#im_roll.save(f'comb-{uid}-tmp.png')
|
121 |
-
for i in range(2,len(out_box)):
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
out = f'comb-{uid}-tmp.png'
|
126 |
yield out,out_html
|
127 |
|
|
|
118 |
if len(out_box)>1:
|
119 |
#im_roll = get_concat_v_cut(f'{out_box[0]}',f'{out_box[1]}')
|
120 |
#im_roll.save(f'comb-{uid}-tmp.png')
|
121 |
+
#for i in range(2,len(out_box)):
|
122 |
+
im_roll = get_concat_h_cut(f'comb-{uid}-tmp.png',f'{out_box[cnt]}')
|
123 |
+
#im_roll = get_concat_h_cut(f'comb-{uid}-tmp.png',f'tmp-{uid}.png')
|
124 |
+
im_roll.save(f'comb-{uid}-tmp.png')
|
125 |
out = f'comb-{uid}-tmp.png'
|
126 |
yield out,out_html
|
127 |
|