unography commited on
Commit
5e43e87
1 Parent(s): 4e9e3d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import os
12
 
13
  DESCRIPTION = "# Image Captioning with LongCap"
14
 
15
- device = torch.device("cuda" if torch.cuda.is_available() else "CPU")
16
  print("Using device: ", device)
17
 
18
  model_id = "unography/blip-long-cap"
 
12
 
13
  DESCRIPTION = "# Image Captioning with LongCap"
14
 
15
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
16
  print("Using device: ", device)
17
 
18
  model_id = "unography/blip-long-cap"