* 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:
Antonio Cordero Balcazar
2026-06-12 14:05:24 +02:00
parent dbe8a2b05d
commit d115ed2639
+3
View File
@@ -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]