Omnibus commited on
Commit
b9dbac4
·
verified ·
1 Parent(s): 6c09578

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- im_roll = get_concat_h_cut(f'comb-{uid}-tmp.png',f'{out_box[i]}')
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
 
 
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