patrickligardes commited on
Commit
134c82b
ยท
verified ยท
1 Parent(s): 12e7e06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -161,6 +161,7 @@ def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_ste
161
 
162
  # Crop and resize the image
163
  cropped_img = human_img_orig.crop((left, top, right, bottom))
 
164
  human_img = cropped_img.resize((768, 1024))
165
 
166
  else:
 
161
 
162
  # Crop and resize the image
163
  cropped_img = human_img_orig.crop((left, top, right, bottom))
164
+ crop_size = cropped_img.size
165
  human_img = cropped_img.resize((768, 1024))
166
 
167
  else: