Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,6 @@ from PIL import Image, ImageOps
|
|
11 |
from torchvision import transforms
|
12 |
|
13 |
|
14 |
-
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
15 |
-
# True
|
16 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
17 |
-
# Tesla T4
|
18 |
|
19 |
# ----------------- HELPER FUNCTIONS ----------------- #
|
20 |
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
|
|
11 |
from torchvision import transforms
|
12 |
|
13 |
|
|
|
|
|
|
|
|
|
14 |
|
15 |
# ----------------- HELPER FUNCTIONS ----------------- #
|
16 |
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|