Fix check

This commit is contained in:
Nicolas Mowen 2024-11-07 16:26:49 -07:00 committed by Wei Theng
parent 3b0724f3dd
commit a70914d026

View File

@ -183,7 +183,7 @@ class FaceClassificationModel:
res = self.classifier.predict([embedding]) res = self.classifier.predict([embedding])
if not res: if res is None:
return None return None
label = res[0] label = res[0]