Spaces:
Sleeping
Sleeping
Download Test.py from Aditya150/Veritas-AI: direct link, hf CLI and curl.
- Browser
- Download file 186 Bytes
-
https://huggingface.co/spaces/Aditya150/Veritas-AI/resolve/main/Test.py
- Command line
-
hf download hf://spaces/Aditya150/Veritas-AI/Test.py
-
curl -L -o Test.py https://huggingface.co/spaces/Aditya150/Veritas-AI/resolve/main/Test.py
186 Bytes
| import torch | |
| print("CUDA Available:", torch.cuda.is_available()) | |
| if torch.cuda.is_available(): | |
| print("GPU Name:", torch.cuda.get_device_name(0)) | |
| else: | |
| print("No GPU available.") |