Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ def run_dif_color(out_prompt,im_path,model_drop,tint,im_height,im_width):
|
|
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 |
|
128 |
else:
|
129 |
tmp_im = Image.open(out_box[0])
|
|
|
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 gr.Image(out),out_html
|
127 |
|
128 |
else:
|
129 |
tmp_im = Image.open(out_box[0])
|