get rid of unused import, add a comment

This commit is contained in:
Sefik Ilkin Serengil 2024-03-08 23:14:17 +00:00
parent 392160f6fc
commit 54d678ca41
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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,)