fix keep orig

pull/152/head
Tran Xen 2023-07-18 16:09:44 +02:00
parent b6008d5127
commit b7e1b0dd8f
1 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,8 @@ class FaceSwapScript(scripts.Script):
)
logger.debug("%s", pformat(self.postprocess_options))
p.do_not_save_samples = not self.keep_original_images
if self.enabled :
p.do_not_save_samples = not self.keep_original_images
def process(self, p: StableDiffusionProcessing, *components):