Spaces:
Runtime error
Runtime error
Update similarity_utils.py
Browse files- similarity_utils.py +1 -1
similarity_utils.py
CHANGED
@@ -18,7 +18,7 @@ np.random.seed(seed)
|
|
18 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
19 |
|
20 |
# Load model for computing embeddings..
|
21 |
-
model_ckpt = "
|
22 |
extractor = AutoFeatureExtractor.from_pretrained(model_ckpt)
|
23 |
|
24 |
# Data transformation chain.
|
|
|
18 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
19 |
|
20 |
# Load model for computing embeddings..
|
21 |
+
model_ckpt = "yangswei/snacks_classification"
|
22 |
extractor = AutoFeatureExtractor.from_pretrained(model_ckpt)
|
23 |
|
24 |
# Data transformation chain.
|