Deep-Live-Cam/modules
google-labs-jules[bot] 8a03fccb59 fix: Resolve circular import between core and face_swapper
Refactors the usage of the update_status function to break a
circular import dependency.

- In modules/processors/frame/face_swapper.py:
  - Removed direct import of update_status from modules.core.
  - Modified pre_start(), process_image(), and process_video()
    to accept update_status as a Callable parameter
    (status_fn_callback).
  - Internal calls now use this passed callback.
- In modules/core.py:
  - Updated the calls to pre_start(), process_image(), and
    process_video() for frame processors (specifically face_swapper)
    to pass the core.update_status function as the
    status_fn_callback argument.

This change ensures that face_swapper.py no longer needs to import
modules.core directly for status updates, resolving the ImportError.
2025-06-18 16:53:21 +00:00
..
processors fix: Resolve circular import between core and face_swapper 2025-06-18 16:53:21 +00:00
__init__.py
capturer.py
cluster_analysis.py
core.py fix: Resolve circular import between core and face_swapper 2025-06-18 16:53:21 +00:00
face_analyser.py
gettext.py
globals.py
hair_segmenter.py
metadata.py
predicter.py
typing.py
ui.json
ui.py feat: Implement Optical Flow KPS tracking for webcam performance 2025-06-18 16:16:52 +00:00
utilities.py
video_capture.py