Spaces:
Running
Running
File size: 91 Bytes
bffd8f1 |
1 2 3 4 5 |
import torch
device = 0 if torch.cuda.is_available() else -1
cache_dir = "./models_cache"
|