Update app.py
Browse files
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:
|
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
|