diff --git a/ldm/dream/pngwriter.py b/ldm/dream/pngwriter.py index c9b49179c6..2461486b22 100644 --- a/ldm/dream/pngwriter.py +++ b/ldm/dream/pngwriter.py @@ -70,10 +70,10 @@ class PromptFormatter: if opt.upscale: switches.append(f'-U {" ".join([str(u) for u in opt.upscale])}') if opt.variation_amount > 0: - switches.append(f'-v {opt.variation_amount}') + switches.append(f'-v{opt.variation_amount}') if opt.with_variations: formatted_variations = ','.join(f'{seed}:{weight}' for seed, weight in opt.with_variations) - switches.append(f'-V {formatted_variations}') + switches.append(f'-V{formatted_variations}') if t2i.full_precision: switches.append('-F') return ' '.join(switches)