Gen params paste improvement

This commit is contained in:
invincibledude 2023-01-22 16:03:42 +03:00
parent 2aaee73633
commit 1fa777c1d7
1 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,9 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
if line.startswith("Hires prompt:"):
res["Hires prompt"] = line[1:][:-1]
if line.startswith("Hires negative prompt:"):
res["Hires negative prompt"] = line[1:][:-1]
if done_with_prompt:
negative_prompt += ("" if negative_prompt == "" else "\n") + line
else: