diff options
Diffstat (limited to 'modules/processing.py')
-rw-r--r-- | modules/processing.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/processing.py b/modules/processing.py index def95846..604d822a 100644 --- a/modules/processing.py +++ b/modules/processing.py @@ -453,6 +453,8 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed: modules.sd_hijack.model_hijack.clear_comments()
comments = {}
+ prompt_tmp = p.prompt
+ negative_prompt_tmp = p.negative_prompt
shared.prompt_styles.apply_styles(p)
@@ -599,6 +601,9 @@ def process_images_inner(p: StableDiffusionProcessing) -> Processed: if p.scripts is not None:
p.scripts.postprocess(p, res)
+ p.prompt = prompt_tmp
+ p.negative_prompt = negative_prompt_tmp
+
return res
|