Fix check

This commit is contained in:
Nicolas Mowen
2025-02-08 12:47:01 -06:00
committed by Blake Blackshear
parent 755c9eea1c
commit 102a7695a3
+1 -1
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]