SkalskiP commited on
Commit
0b1fcba
1 Parent(s): ff8feed

Updated checkpoint path and added arXiv badge to README

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -14,11 +14,13 @@ from gpt4v import prompt_image
14
  HOME = os.getenv("HOME")
15
  DEVICE = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
16
 
17
- SAM_CHECKPOINT = os.path.join(HOME, "app/weights/sam_vit_h_4b8939.pth")
18
- # SAM_CHECKPOINT = "weights/sam_vit_h_4b8939.pth"
19
  SAM_MODEL_TYPE = "vit_h"
20
 
21
  MARKDOWN = """
 
 
22
  <h1 style='text-align: center'>
23
  <img
24
  src='https://som-gpt4v.github.io/website/img/som_logo.png'
 
14
  HOME = os.getenv("HOME")
15
  DEVICE = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
16
 
17
+ # SAM_CHECKPOINT = os.path.join(HOME, "app/weights/sam_vit_h_4b8939.pth")
18
+ SAM_CHECKPOINT = "weights/sam_vit_h_4b8939.pth"
19
  SAM_MODEL_TYPE = "vit_h"
20
 
21
  MARKDOWN = """
22
+ [![arXiv](https://img.shields.io/badge/arXiv-1703.06870v3-b31b1b.svg)](https://arxiv.org/pdf/2310.11441.pdf)
23
+
24
  <h1 style='text-align: center'>
25
  <img
26
  src='https://som-gpt4v.github.io/website/img/som_logo.png'