LTT commited on
Commit
d0b104b
1 Parent(s): 9330b46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ from huggingface_hub import hf_hub_download
29
 
30
  if torch.cuda.is_available() and torch.cuda.device_count() >= 2:
31
  device0 = torch.device('cuda:0')
32
- device1 = torch.device('cuda:0')
33
  else:
34
  device0 = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
35
  device1 = device0
 
29
 
30
  if torch.cuda.is_available() and torch.cuda.device_count() >= 2:
31
  device0 = torch.device('cuda:0')
32
+ device1 = torch.device('cuda:1')
33
  else:
34
  device0 = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
35
  device1 = device0