mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 20:15:21 +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
|
# built-in dependencies
|
||||||
import os
|
import os
|
||||||
import hashlib
|
import hashlib
|
||||||
import platform
|
|
||||||
|
|
||||||
# 3rd party dependencies
|
# 3rd party dependencies
|
||||||
import tensorflow as tf
|
import tensorflow as tf
|
||||||
|
@ -96,7 +96,7 @@ def analyze(
|
|||||||
- 'white': Confidence score for White ethnicity.
|
- '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):
|
if isinstance(actions, str):
|
||||||
actions = (actions,)
|
actions = (actions,)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user