barbaroo commited on
Commit
e311694
1 Parent(s): ae4b267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -82,3 +82,6 @@ iface.launch()
82
 
83
  import torch
84
 
 
 
 
 
82
 
83
  import torch
84
 
85
+ print(f"Is CUDA available: {torch.cuda.is_available()}")
86
+ # True
87
+ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")