Spaces:
Runtime error
Runtime error
Samuel Schmidt
commited on
Commit
·
b5ddef2
1
Parent(s):
e4ec374
Update src/app.py
Browse files- src/app.py +1 -1
src/app.py
CHANGED
@@ -29,7 +29,7 @@ def index_dataset(dataset):
|
|
29 |
dataset_with_embeddings = dataset_with_embeddings.map(clip_model.encode_images, batched=True, batch_size=16)
|
30 |
|
31 |
print("LBP and Color")
|
32 |
-
dataset_with_embeddings = dataset_with_embeddings.map(lambda row: {'lbp_color_embeddings': merge_features(row['lbp_embeddings'], row['color_embeddings']})
|
33 |
|
34 |
|
35 |
# Add index
|
|
|
29 |
dataset_with_embeddings = dataset_with_embeddings.map(clip_model.encode_images, batched=True, batch_size=16)
|
30 |
|
31 |
print("LBP and Color")
|
32 |
+
dataset_with_embeddings = dataset_with_embeddings.map(lambda row: {'lbp_color_embeddings': merge_features(row['lbp_embeddings'], row['color_embeddings'])})
|
33 |
|
34 |
|
35 |
# Add index
|