Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
111 |
-
|
|
|
|
|
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]}')
|