ProcessWrapper
- class lib.gui.wrapper.ProcessWrapper
Bases:
objectBuilds command, launches and terminates the underlying faceswap process. Updates GUI display depending on state
Attributes Summary
The object that controls the underlying faceswap process
Methods Summary
terminate(message)Finalize wrapper when process has exited.
Attributes Documentation
- task
The object that controls the underlying faceswap process
- Type:
Methods Documentation
- terminate(message: str) None
Finalize wrapper when process has exited. Stops the progress bar, sets the status message. If the terminating task is ‘train’, then triggers the training close down actions
- Parameters:
message (str) – The message to display in the status bar
- Return type:
None
- property task: FaceswapControl
The object that controls the underlying faceswap process
- Type:
- terminate(message: str) None
Finalize wrapper when process has exited. Stops the progress bar, sets the status message. If the terminating task is ‘train’, then triggers the training close down actions
- Parameters:
message (str) – The message to display in the status bar
- Return type:
None