Spaces:
Runtime error
Runtime error
yisol commited on
Commit ยท
6bb5ede
1
Parent(s): 6de0e51
add auto crop
Browse files129 unmodified lines130131132133134135136129 unmodified linespipe.unet_encoder.to(device)garm_img= garm_img.convert("RGB").resize((768,1024))human_img_orig = dict["background"].resize((768,1024)).convert("RGB")if is_checked_crop:width, height = human_img_orig.size129 unmodified lines130131132133134135136129 unmodified linespipe.unet_encoder.to(device)garm_img= garm_img.convert("RGB").resize((768,1024))human_img_orig = dict["background"].convert("RGB")if is_checked_crop:width, height = human_img_orig.size
app.py+1-1