Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -197,10 +197,10 @@ def start_tryon(person_img, pose_img, mask_img, cloth_img, garment_des, denoise_
|
|
| 197 |
text_embeds_cloth=prompt_embeds_cloth.to(device, torch.float16),
|
| 198 |
cloth=garm_tensor.to(device, torch.float16),
|
| 199 |
mask_image=mask_tensor.to(device, torch.float16),
|
| 200 |
-
image=human_img
|
| 201 |
height=1024,
|
| 202 |
width=768,
|
| 203 |
-
ip_adapter_image=garm_img.resize((768, 1024))
|
| 204 |
guidance_scale=2.0,
|
| 205 |
)[0]
|
| 206 |
|
|
|
|
| 197 |
text_embeds_cloth=prompt_embeds_cloth.to(device, torch.float16),
|
| 198 |
cloth=garm_tensor.to(device, torch.float16),
|
| 199 |
mask_image=mask_tensor.to(device, torch.float16),
|
| 200 |
+
image=human_img,
|
| 201 |
height=1024,
|
| 202 |
width=768,
|
| 203 |
+
ip_adapter_image=garm_img.resize((768, 1024)),
|
| 204 |
guidance_scale=2.0,
|
| 205 |
)[0]
|
| 206 |
|