maviced commited on
Commit
ec80e3a
·
verified ·
1 Parent(s): 5887b27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,7 +20,8 @@ with open("lsh.pickle", "rb") as handle:
20
  loaded_lsh = pickle.load(handle)
21
 
22
  # Load model for computing embeddings.
23
- model_ckpt = "google/vit-base-patch16-224"
 
24
  model = AutoModel.from_pretrained(model_ckpt)
25
  lsh_builder = BuildLSHTable(model)
26
  lsh_builder.lsh = loaded_lsh
 
20
  loaded_lsh = pickle.load(handle)
21
 
22
  # Load model for computing embeddings.
23
+ # model_ckpt = "google/vit-base-patch16-224"
24
+ model_ckpt = "anggtpd/snacks_classifier"
25
  model = AutoModel.from_pretrained(model_ckpt)
26
  lsh_builder = BuildLSHTable(model)
27
  lsh_builder.lsh = loaded_lsh