Gen params paste improvement

This commit is contained in:
invincibledude 2023-01-22 16:00:35 +03:00
parent a5c2b5ed89
commit 2aaee73633

View File

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