mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +00:00
remove #type ignore comments
This commit is contained in:
parent
c513b26d6d
commit
aa47e33cf4
@ -254,10 +254,10 @@ def search_identity(
|
||||
# detected face is coming from parent, safe to access 1st index
|
||||
df = dfs[0]
|
||||
|
||||
if df.shape[0] == 0: # type: ignore
|
||||
if df.shape[0] == 0:
|
||||
return None, None
|
||||
|
||||
candidate = df.iloc[0] # type: ignore
|
||||
candidate = df.iloc[0]
|
||||
target_path = candidate["identity"]
|
||||
logger.info(f"Hello, {target_path}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user