mkaraki commited on
Commit
d406a66
·
1 Parent(s): 5e892ae

Change code for huggingface

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ lr = 0.0002
35
  beta1 = 0.5
36
 
37
  # Number of GPUs available. Use 0 for CPU mode.
38
- ngpu = 1
39
 
40
 
41
  device = torch.device("cuda:0" if (torch.cuda.is_available() and ngpu > 0) else "cpu")
 
35
  beta1 = 0.5
36
 
37
  # Number of GPUs available. Use 0 for CPU mode.
38
+ ngpu = 0
39
 
40
 
41
  device = torch.device("cuda:0" if (torch.cuda.is_available() and ngpu > 0) else "cpu")