fix: Correct syntax and structure in face_swapper.py helper functions
Resolves a SyntaxError ('(' was never closed) and potential
IndentationError related to the definition of helper functions
_prepare_warped_source_material_and_mask and _blend_material_onto_frame
in modules/processors/frame/face_swapper.py.
The fix ensures:
- The definition of _blend_material_onto_frame correctly starts at
column 0 (no leading whitespace).
- Duplicated and malformed blocks defining these functions, which were
causing parsing errors, have been removed.
- The file now contains only single, correct definitions for these
helper functions.
This should allow your application to start and run without these
specific syntax/indentation issues.
pull/1298/head
parent
6da790e3d2
commit
31515353e9