mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
get rid of unused import, add a comment
This commit is contained in:
parent
392160f6fc
commit
54d678ca41
@ -1,7 +1,6 @@
|
||||
# built-in dependencies
|
||||
import os
|
||||
import hashlib
|
||||
import platform
|
||||
|
||||
# 3rd party dependencies
|
||||
import tensorflow as tf
|
||||
|
@ -96,7 +96,7 @@ def analyze(
|
||||
- 'white': Confidence score for White ethnicity.
|
||||
"""
|
||||
|
||||
# validate actions
|
||||
# if actions is passed as tuple with single item, interestingly it becomes str here
|
||||
if isinstance(actions, str):
|
||||
actions = (actions,)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user