alvanlii commited on
Commit
c83cce1
1 Parent(s): f2fccf5

Update run_edit.py

Browse files
Files changed (1) hide show
  1. run_edit.py +1 -1
run_edit.py CHANGED
@@ -45,7 +45,7 @@ import cv2
45
  def str2bool(x):
46
  return x.lower() in ('true')
47
 
48
- USE_CPU = True
49
  device = torch.device('cuda:0' if (torch.cuda.is_available() and not USE_CPU) else 'cpu')
50
 
51
 
 
45
  def str2bool(x):
46
  return x.lower() in ('true')
47
 
48
+ USE_CPU = False
49
  device = torch.device('cuda:0' if (torch.cuda.is_available() and not USE_CPU) else 'cpu')
50
 
51