Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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:
|