Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -509,7 +509,7 @@ class AttendanceSystem:
|
|
| 509 |
self.last_recognition_time[worker_id] = time.time()
|
| 510 |
print(f" ✅ New worker registered and marked present: {worker_name}")
|
| 511 |
'quality_score': confidence
|
| 512 |
-
|
| 513 |
print(f" -> Added to auto-registration candidates (1/{self.auto_register_threshold})")
|
| 514 |
else:
|
| 515 |
candidate = self.auto_registration_candidates[embedding_key]
|
|
|
|
| 509 |
self.last_recognition_time[worker_id] = time.time()
|
| 510 |
print(f" ✅ New worker registered and marked present: {worker_name}")
|
| 511 |
'quality_score': confidence
|
| 512 |
+
}
|
| 513 |
print(f" -> Added to auto-registration candidates (1/{self.auto_register_threshold})")
|
| 514 |
else:
|
| 515 |
candidate = self.auto_registration_candidates[embedding_key]
|