gremlin97 commited on
Commit
b48893c
1 Parent(s): fe71966

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import torchvision.transforms as transforms
10
  from PIL import Image
11
 
12
  evice = torch.device('cpu')
13
- model = tag2text(pretrained='tag2text.pth', image_size=384, vit='swin_b')
14
  model.threshold = 0.68
15
  model.eval()
16
 
 
10
  from PIL import Image
11
 
12
  evice = torch.device('cpu')
13
+ model = tag2text(pretrained='./tag2text.pth', image_size=384, vit='swin_b')
14
  model.threshold = 0.68
15
  model.eval()
16