Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ user_embeddings = []
|
|
| 20 |
user_ids = []
|
| 21 |
|
| 22 |
# Threshold
|
| 23 |
-
RECOGNITION_THRESHOLD = 0.
|
| 24 |
|
| 25 |
# Preprocess the image for FaceNet
|
| 26 |
def preprocess_image(image):
|
|
|
|
| 20 |
user_ids = []
|
| 21 |
|
| 22 |
# Threshold
|
| 23 |
+
RECOGNITION_THRESHOLD = 0.3 # Adjust as needed
|
| 24 |
|
| 25 |
# Preprocess the image for FaceNet
|
| 26 |
def preprocess_image(image):
|