Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from scipy.spatial.distance import cosine
|
|
5 |
import cv2
|
6 |
import os
|
7 |
|
8 |
-
RECOGNITION_THRESHOLD = 0.
|
9 |
|
10 |
# Load the embedding model
|
11 |
embedding_model = tf.keras.models.load_model('v2_embedding_model.h5')
|
|
|
5 |
import cv2
|
6 |
import os
|
7 |
|
8 |
+
RECOGNITION_THRESHOLD = 0.3
|
9 |
|
10 |
# Load the embedding model
|
11 |
embedding_model = tf.keras.models.load_model('v2_embedding_model.h5')
|