Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import subprocess
|
|
2 |
import os
|
3 |
import torch
|
4 |
|
5 |
-
os.system("
|
6 |
|
7 |
if torch.cuda.is_available():
|
8 |
device="cuda"
|
|
|
2 |
import os
|
3 |
import torch
|
4 |
|
5 |
+
os.system("nvidia-smi")
|
6 |
|
7 |
if torch.cuda.is_available():
|
8 |
device="cuda"
|