mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
remove dangling -V from normalized dream command
This commit is contained in:
parent
7e6443c882
commit
44e3995425
@ -238,7 +238,7 @@ class Args(object):
|
|||||||
if a['with_variations']:
|
if a['with_variations']:
|
||||||
formatted_variations = ','.join(f'{seed}:{weight}' for seed, weight in (a["with_variations"]))
|
formatted_variations = ','.join(f'{seed}:{weight}' for seed, weight in (a["with_variations"]))
|
||||||
switches.append(f'-V {formatted_variations}')
|
switches.append(f'-V {formatted_variations}')
|
||||||
if 'variations' in a:
|
if 'variations' in a and len(a['variations'])>0:
|
||||||
switches.append(f'-V {a["variations"]}')
|
switches.append(f'-V {a["variations"]}')
|
||||||
return ' '.join(switches)
|
return ' '.join(switches)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user