methodw commited on
Commit
41c5d45
·
1 Parent(s): 872460c

fix model name

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ import faiss
9
 
10
  # Init similarity search AI model and processor
11
  torch_device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
12
- dino_v2_model = AutoModel.from_pretrained("./dinov2-base").to(torch_device)
13
- dino_v2_image_processor = AutoImageProcessor.from_pretrained("./dinov2-base")
14
 
15
 
16
  def process_image(image):
 
9
 
10
  # Init similarity search AI model and processor
11
  torch_device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
12
+ dino_v2_model = AutoModel.from_pretrained("./dinov2-large").to(torch_device)
13
+ dino_v2_image_processor = AutoImageProcessor.from_pretrained("./dinov2-large")
14
 
15
 
16
  def process_image(image):