florentgbelidji HF staff commited on
Commit
8f294b5
1 Parent(s): 3dedfc7

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -9,7 +9,7 @@ from torchvision import transforms
9
  from torchvision.transforms.functional import InterpolationMode
10
 
11
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
12
-
13
 
14
  class PreTrainedPipeline():
15
  def __init__(self, path=""):
 
9
  from torchvision.transforms.functional import InterpolationMode
10
 
11
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
12
+ print(device)
13
 
14
  class PreTrainedPipeline():
15
  def __init__(self, path=""):