Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,6 @@ import torch
|
|
24 |
|
25 |
zero = torch.Tensor([0]).cuda()
|
26 |
|
27 |
-
os.environ['CUDA_VISIBLE_DEVICES'] = zero
|
28 |
print(zero.device)
|
29 |
# gpus = tf.config.experimental.list_physical_devices('GPU')
|
30 |
# print("\n\n gpus :",gpus)
|
|
|
24 |
|
25 |
zero = torch.Tensor([0]).cuda()
|
26 |
|
|
|
27 |
print(zero.device)
|
28 |
# gpus = tf.config.experimental.list_physical_devices('GPU')
|
29 |
# print("\n\n gpus :",gpus)
|