add perlin options to formatted dream cmd

This commit is contained in:
Lincoln Stein 2022-10-04 14:32:18 -04:00
parent 815addc452
commit f34279b3e7

View File

@ -185,6 +185,11 @@ class Args(object):
switches.append(f'-W {a["width"]}')
switches.append(f'-H {a["height"]}')
switches.append(f'-C {a["cfg_scale"]}')
if a['perlin'] > 0:
switches.append(f'--perlin {a["perlin"]}')
if a['threshold'] > 0:
switches.append(f'--threshold {a["threshold"]}')
if a['grid']:
switches.append('--grid')
if a['seamless']: