Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ShynBui
/
Vietnamese_correct_spelling
like
0
Runtime error
App
Files
Files
Community
a34b13a
Vietnamese_correct_spelling
/
test.py
ShynBui
f
7f6b51d
3 months ago
raw
Copy download link
history
blame
Safe
99 Bytes
import
torch
device = torch.device(
"cuda"
if
torch.cuda.is_available()
else
"cpu"
)
print
(device)