Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
# More powerful GPU's will make this even faster, especially if people are upscaling even larger images, also increase tilesize if more VRAM available so most upscales would be un-tiled and no possible seams problem and also faster
|
9 |
# Maybe add my weak, medium and strong otf handling models as a choice if they have images with strong noise, compression and deblur going on. Maybe also otf jpg one. I have trained multiple compact models, thought id keep it simple here though, these are my latest models.
|
10 |
|
11 |
-
|
12 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
13 |
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
14 |
|
|
|
8 |
# More powerful GPU's will make this even faster, especially if people are upscaling even larger images, also increase tilesize if more VRAM available so most upscales would be un-tiled and no possible seams problem and also faster
|
9 |
# Maybe add my weak, medium and strong otf handling models as a choice if they have images with strong noise, compression and deblur going on. Maybe also otf jpg one. I have trained multiple compact models, thought id keep it simple here though, these are my latest models.
|
10 |
|
11 |
+
import torch
|
12 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
13 |
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
14 |
|