disable expansion when empty since it is not meaningful and influences image prompt
disable expansion when empty since it is not meaningful and influences image prompt
This commit is contained in:
parent
d7ee814579
commit
823fa924d3
|
|
@ -1 +1 @@
|
|||
version = '2.1.746'
|
||||
version = '2.1.747'
|
||||
|
|
|
|||
|
|
@ -216,6 +216,10 @@ def worker():
|
|||
prompt = prompts[0]
|
||||
negative_prompt = negative_prompts[0]
|
||||
|
||||
if prompt == '':
|
||||
# disable expansion when empty since it is not meaningful and influences image prompt
|
||||
use_expansion = False
|
||||
|
||||
extra_positive_prompts = prompts[1:] if len(prompts) > 1 else []
|
||||
extra_negative_prompts = negative_prompts[1:] if len(negative_prompts) > 1 else []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue