patrjfjfkfr commited on
Commit
d02cdd2
·
verified ·
1 Parent(s): 24a36a0

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import torch
2
+
3
+ if torch.cuda.is_available():
4
+ print("✅ CUDA is live, GPU acquired:", torch.cuda.get_device_name(0))
5
+ else:
6
+ print("❌ No GPU available.")