Spaces:
Running
on
Zero
Running
on
Zero
parokshsaxena
commited on
Commit
β’
97b3eb9
1
Parent(s):
537f619
fix
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ def start_tryon(human_img_dict,garm_img,garment_des, background_img, is_checked,
|
|
152 |
pipe.unet_encoder.to(device)
|
153 |
|
154 |
#human_img_orig = human_img_dict["background"].convert("RGB") # ImageEditor
|
155 |
-
human_img_orig =
|
156 |
|
157 |
"""
|
158 |
# Derive HEIGHT & WIDTH such that width is not more than 1000. This will cater to both Shein images (4160x6240) of 3:4 AR and model standard images ( 768x1024 ) of 2:3 AR
|
|
|
152 |
pipe.unet_encoder.to(device)
|
153 |
|
154 |
#human_img_orig = human_img_dict["background"].convert("RGB") # ImageEditor
|
155 |
+
human_img_orig = human_img_dict.convert("RGB") # Image
|
156 |
|
157 |
"""
|
158 |
# Derive HEIGHT & WIDTH such that width is not more than 1000. This will cater to both Shein images (4160x6240) of 3:4 AR and model standard images ( 768x1024 ) of 2:3 AR
|