Spaces:
Sleeping
Sleeping
updating pickle load
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ transform = transforms.Compose([
|
|
44 |
])
|
45 |
|
46 |
# Load the database of embeddings
|
47 |
-
with open('
|
48 |
database = pickle.load(f)
|
49 |
|
50 |
def cosine_similarity(embedding1, embedding2):
|
|
|
44 |
])
|
45 |
|
46 |
# Load the database of embeddings
|
47 |
+
with open('face_database_me.pkl', 'rb') as f:
|
48 |
database = pickle.load(f)
|
49 |
|
50 |
def cosine_similarity(embedding1, embedding2):
|