Vaibhavnaik12 commited on
Commit
f01721c
·
verified ·
1 Parent(s): 255d777

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -197,9 +197,9 @@ def submit_function(
197
  condition_width = width // 3
198
  conditions = image_grid([person_image, masked_person , cloth_image], 3, 1)
199
  conditions = conditions.resize((condition_width, height), Image.NEAREST)
200
- new_result_image = Image.new("RGB", (width + condition_width + 5, height))
201
  new_result_image.paste(conditions, (0, 0))
202
- new_result_image.paste(result_image, (condition_width + 5, 0))
203
  return new_result_image
204
 
205
 
 
197
  condition_width = width // 3
198
  conditions = image_grid([person_image, masked_person , cloth_image], 3, 1)
199
  conditions = conditions.resize((condition_width, height), Image.NEAREST)
200
+ new_result_image = Image.new("RGB", (width + condition_width + 6, height))
201
  new_result_image.paste(conditions, (0, 0))
202
+ new_result_image.paste(result_image, (condition_width + 6, 0))
203
  return new_result_image
204
 
205