Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def run_dif_color(out_prompt,im_path,model_drop,tint,im_height,im_width):
|
|
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-{cnt}-{uid}.png',adj_h
|
124 |
im_roll.save(f'comb-{uid}-tmp.png')
|
125 |
out = f'comb-{uid}-tmp.png'
|
126 |
yield gr.Image(out),out_html
|
@@ -139,7 +139,7 @@ def run_dif_color(out_prompt,im_path,model_drop,tint,im_height,im_width):
|
|
139 |
pass
|
140 |
|
141 |
cnt+=1
|
142 |
-
|
143 |
yield gr.Image(out),out_html
|
144 |
|
145 |
|
|
|
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-{cnt}-{uid}.png',adj_h)
|
124 |
im_roll.save(f'comb-{uid}-tmp.png')
|
125 |
out = f'comb-{uid}-tmp.png'
|
126 |
yield gr.Image(out),out_html
|
|
|
139 |
pass
|
140 |
|
141 |
cnt+=1
|
142 |
+
adj_h+=grid_wide
|
143 |
yield gr.Image(out),out_html
|
144 |
|
145 |
|