fffiloni commited on
Commit
639cf35
1 Parent(s): 5f7a864

invert process displaying to the right

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,7 +160,7 @@ def infer(image, model_selection, ratio_choice, overlap_width):
160
  negative_pooled_prompt_embeds=negative_pooled_prompt_embeds,
161
  image=cnet_image,
162
  ):
163
- yield image, cnet_image
164
 
165
  image = image.convert("RGBA")
166
  cnet_image.paste(image, (0, 0), mask)
@@ -218,7 +218,7 @@ def infer(image, model_selection, ratio_choice, overlap_width):
218
  negative_pooled_prompt_embeds=negative_pooled_prompt_embeds,
219
  image=cnet_image,
220
  ):
221
- yield image, cnet_image
222
 
223
  image = image.convert("RGBA")
224
  cnet_image.paste(image, (0, 0), mask)
 
160
  negative_pooled_prompt_embeds=negative_pooled_prompt_embeds,
161
  image=cnet_image,
162
  ):
163
+ yield cnet_image, image
164
 
165
  image = image.convert("RGBA")
166
  cnet_image.paste(image, (0, 0), mask)
 
218
  negative_pooled_prompt_embeds=negative_pooled_prompt_embeds,
219
  image=cnet_image,
220
  ):
221
+ yield cnet_image, image
222
 
223
  image = image.convert("RGBA")
224
  cnet_image.paste(image, (0, 0), mask)