Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
barbaroo
/
Faroese_English_Ukranian_Translator
like
2
Runtime error
App
Files
Files
Community
barbaroo
commited on
Jun 5
Commit
e311694
•
1 Parent(s):
ae4b267
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
CHANGED
Viewed
@@ -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())}")