Fix check

This commit is contained in:
Nicolas Mowen 2024-11-07 16:26:49 -07:00
parent 4cea4a938d
commit a586ef80e0

View File

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