parokshsaxena commited on
Commit
1f56321
β€’
1 Parent(s): 3c43186
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -129,6 +129,7 @@ POSE_HEIGHT = int(HEIGHT/4) #int(HEIGHT/2)
129
  @spaces.GPU
130
  def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_steps,seed):
131
  device = "cuda"
 
132
 
133
  openpose_model.preprocessor.body_estimation.model.to(device)
134
  pipe.to(device)
 
129
  @spaces.GPU
130
  def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_steps,seed):
131
  device = "cuda"
132
+ # device = 'cuda:0' if torch.cuda.is_available() else 'cpu'
133
 
134
  openpose_model.preprocessor.body_estimation.model.to(device)
135
  pipe.to(device)