diff --git a/modules/ui.py b/modules/ui.py index 86584e7..6f50274 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1013,7 +1013,6 @@ def create_webcam_preview(camera_index: int): temp_frame, PREVIEW.winfo_width(), PREVIEW.winfo_height() ) - if not modules.globals.map_faces: if not modules.globals.map_faces: # Case 1: map_faces is False - source_face_obj_for_cam and source_frame_full_for_cam are pre-loaded if source_face_obj_for_cam and source_frame_full_for_cam is not None: # Check if valid after pre-loading