Spaces:
Sleeping
Sleeping
update fn
Browse files
app.py
CHANGED
@@ -80,6 +80,9 @@ def process_images(image1, image2):
|
|
80 |
embedding2 = model(face2)
|
81 |
|
82 |
similarity = cosine_similarity(embedding1, embedding2)
|
|
|
|
|
|
|
83 |
|
84 |
end_time = time.time()
|
85 |
inference_time = end_time - start_time
|
|
|
80 |
embedding2 = model(face2)
|
81 |
|
82 |
similarity = cosine_similarity(embedding1, embedding2)
|
83 |
+
print(embedding1)
|
84 |
+
print(embedding2)
|
85 |
+
print(similarity)
|
86 |
|
87 |
end_time = time.time()
|
88 |
inference_time = end_time - start_time
|