Deep-Live-Cam/modules/processors
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
..
frame fix: Resolve circular import between core and face_swapper 2025-06-18 16:53:21 +00:00
__init__.py initial commit 2023-09-24 21:36:57 +08:00