Fix check

This commit is contained in:
Nicolas Mowen 2024-11-07 16:26:49 -07:00
parent 1cddb2c18d
commit 4344a4a144

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]