FaceswapControl
- class lib.gui.wrapper.FaceswapControl(wrapper: ProcessWrapper)
Bases:
objectControl the underlying Faceswap tasks.
- wrapper:
ProcessWrapper The object responsible for managing this faceswap task
Attributes Summary
The currently executing command, when process running or
NoneMethods Summary
execute_script(command, args)Execute the requested Faceswap Script
Terminate the running process in a LongRunningTask so console can still be updated console
Attributes Documentation
- Parameters:
wrapper (ProcessWrapper)
- command
The currently executing command, when process running or
None- Type:
str | None
Methods Documentation
- execute_script(command: str, args: list[str]) None
Execute the requested Faceswap Script
- Parameters:
command (str) – The faceswap command that is to be run
args (list[str]) – The full command line arguments to be executed
- Return type:
None
- terminate() None
Terminate the running process in a LongRunningTask so console can still be updated console
- Return type:
None
- property command: str | None
The currently executing command, when process running or
None- Type:
str | None
- execute_script(command: str, args: list[str]) None
Execute the requested Faceswap Script
- Parameters:
command (str) – The faceswap command that is to be run
args (list[str]) – The full command line arguments to be executed
- Return type:
None
- terminate() None
Terminate the running process in a LongRunningTask so console can still be updated console
- Return type:
None
- wrapper: