Send empty prompts as valid generation parameter

This commit is contained in:
Vladimir Repin 2022-10-19 19:18:52 +03:00 committed by AUTOMATIC1111
parent 5e012e4dfa
commit 46122c4ff6
1 changed files with 0 additions and 3 deletions

View File

@ -45,10 +45,7 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
else:
prompt += ("" if prompt == "" else "\n") + line
if len(prompt) > 0:
res["Prompt"] = prompt
if len(negative_prompt) > 0:
res["Negative prompt"] = negative_prompt
for k, v in re_param.findall(lastline):