rolpotamias commited on
Commit
cb6a364
1 Parent(s): 22d697c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ from wilor.models import WiLoR, load_wilor
20
  from wilor.utils import recursive_to
21
  from wilor.datasets.vitdet_dataset import ViTDetDataset, DEFAULT_MEAN, DEFAULT_STD
22
  from wilor.utils.renderer import Renderer, cam_crop_to_full
23
- device = torch.device('cpu') if torch.cuda.is_available() else torch.device('cpu')
24
  print('CUDA AVAILABLE', torch.cuda.is_available())
25
 
26
  LIGHT_PURPLE=(0.25098039, 0.274117647, 0.65882353)
 
20
  from wilor.utils import recursive_to
21
  from wilor.datasets.vitdet_dataset import ViTDetDataset, DEFAULT_MEAN, DEFAULT_STD
22
  from wilor.utils.renderer import Renderer, cam_crop_to_full
23
+ device = torch.device('cpu') if torch.cuda.is_available() else torch.device('cuda')
24
  print('CUDA AVAILABLE', torch.cuda.is_available())
25
 
26
  LIGHT_PURPLE=(0.25098039, 0.274117647, 0.65882353)