Omnibus commited on
Commit
05d9f6c
·
verified ·
1 Parent(s): d03da32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -107,8 +107,10 @@ def run_dif_color(out_prompt,im_path,model_drop,tint,im_height,im_width):
107
  raw=raw.convert('RGB')
108
 
109
  colorize = RGBTransform().mix_with(color,factor=float(tint)).applied_to(raw)
110
- colorize.save(f'tmp-{uid}.png')
111
- out_box.append(f'tmp-{uid}.png')
 
 
112
  if out_box:
113
  if len(out_box)>1:
114
  im_roll = get_concat_v_cut(f'{out_box[0]}',f'{out_box[1]}')
 
107
  raw=raw.convert('RGB')
108
 
109
  colorize = RGBTransform().mix_with(color,factor=float(tint)).applied_to(raw)
110
+ print (colorize)
111
+ #colorize.save(f'tmp-{uid}.png')
112
+ #out_box.append(f'tmp-{uid}.png')
113
+ out_box.append(colorize)
114
  if out_box:
115
  if len(out_box)>1:
116
  im_roll = get_concat_v_cut(f'{out_box[0]}',f'{out_box[1]}')