EvanTHU commited on
Commit
e768692
1 Parent(s): b4a497a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -413,7 +413,7 @@ def main():
413
  device_id = opt.gpu_id
414
  device = torch.device('cuda:%d' % device_id if torch.cuda.is_available() else 'cpu')
415
  opt.device = device
416
-
417
 
418
  # load model
419
  model = build_models(opt, edit_config=edit_config)
 
413
  device_id = opt.gpu_id
414
  device = torch.device('cuda:%d' % device_id if torch.cuda.is_available() else 'cpu')
415
  opt.device = device
416
+ print(device)
417
 
418
  # load model
419
  model = build_models(opt, edit_config=edit_config)