Merge branch 'main' into refactor_use_compel

This commit is contained in:
blessedcoolant
2023-02-23 07:43:30 +13:00
committed by GitHub
11 changed files with 115 additions and 102 deletions

View File

@ -1384,13 +1384,6 @@ class InvokeAIWebServer:
# semantic drift
rfc_dict["sampler"] = parameters["sampler_name"]
# display weighted subprompts (liable to change)
subprompts = split_weighted_subprompts(
parameters["prompt"], skip_normalize=True
)
subprompts = [{"prompt": x[0], "weight": x[1]} for x in subprompts]
rfc_dict["prompt"] = subprompts
# 'variations' should always exist and be an array, empty or consisting of {'seed': seed, 'weight': weight} pairs
variations = []