Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,6 @@ def get_image(image1, image2, dataset_image_mask, processid_to_index, idx):
|
|
20 |
return image
|
21 |
|
22 |
def searchEmbeddings(id):
|
23 |
-
# get embeddings from file
|
24 |
-
embeddings_file = h5py.File('5m/extracted_features_of_all_keys.hdf5', 'r')
|
25 |
-
|
26 |
# variable and index initialization
|
27 |
dim = 768
|
28 |
count = 0
|
|
|
20 |
return image
|
21 |
|
22 |
def searchEmbeddings(id):
|
|
|
|
|
|
|
23 |
# variable and index initialization
|
24 |
dim = 768
|
25 |
count = 0
|