mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-06 12:43:53 +02:00
minor improvement
This commit is contained in:
@@ -100,7 +100,9 @@ def get_static_faces(vision_frames : List[VisionFrame]) -> List[Face]:
|
||||
|
||||
if not faces:
|
||||
faces = get_many_faces([ vision_frame ])
|
||||
face_store.set_faces(vision_frame, faces)
|
||||
|
||||
if faces:
|
||||
face_store.set_faces(vision_frame, faces)
|
||||
|
||||
many_faces.extend(faces)
|
||||
|
||||
|
||||
@@ -758,7 +758,7 @@ def extract_source_face(source_vision_frames : List[VisionFrame]) -> Optional[Fa
|
||||
|
||||
if source_vision_frames:
|
||||
for source_vision_frame in source_vision_frames:
|
||||
temp_faces = get_static_faces([source_vision_frame])
|
||||
temp_faces = get_static_faces([ source_vision_frame ])
|
||||
temp_faces = sort_faces_by_order(temp_faces, 'large-small')
|
||||
|
||||
if temp_faces:
|
||||
|
||||
Reference in New Issue
Block a user