Spaces:
Running
on
Zero
Running
on
Zero
parokshsaxena
commited on
Commit
β’
2070278
1
Parent(s):
1993dd0
logs
Browse files
app.py
CHANGED
@@ -144,6 +144,7 @@ def is_cropping_required(width, height):
|
|
144 |
|
145 |
@spaces.GPU
|
146 |
def start_tryon(human_img_dict,garm_img,garment_des, background_img, is_checked,is_checked_crop,denoise_steps,seed):
|
|
|
147 |
#device = "cuda"
|
148 |
device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
149 |
|
|
|
144 |
|
145 |
@spaces.GPU
|
146 |
def start_tryon(human_img_dict,garm_img,garment_des, background_img, is_checked,is_checked_crop,denoise_steps,seed):
|
147 |
+
logging.info("Starting try on")
|
148 |
#device = "cuda"
|
149 |
device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
|
150 |
|