* Add "PPP Hires prompt" and "PPP Hires negative prompt" metadata to counteract A1111 hosts bug with bad "Hires prompt" / "Hires negative prompt" metadata when using "Batch count" > 1.
This commit is contained in:
@@ -520,6 +520,9 @@ class PromptPostProcessorA1111Script(scripts.Script):
|
||||
|
||||
# initialize extra generation parameters
|
||||
if add_prompts:
|
||||
if hiresfix_exists:
|
||||
extra_params["PPP Hires prompt"] = rph
|
||||
extra_params["PPP Hires negative prompt"] = rnh
|
||||
if regular_changes:
|
||||
extra_params["PPP original prompts"] = regular_copy[0]
|
||||
extra_params["PPP original negative prompts"] = regular_copy[1]
|
||||
|
||||
Reference in New Issue
Block a user