initial commmit
This commit is contained in:
parent
0e9c6212de
commit
f5f8d45eaa
@ -196,7 +196,7 @@ class CommandLineParser(argparse.ArgumentParser):
|
||||
if self.supports_image_generation and namespace.steps is None:
|
||||
namespace.steps = ui_defaults.MODEL_INFERENCE_STEPS.get(namespace.model, None)
|
||||
|
||||
if namespace.low_ram and len(namespace.seed) > 1:
|
||||
if getattr(namespace, 'low_ram', False) and len(namespace.seed) > 1:
|
||||
self.error("--low-ram cannot be used with multiple seeds")
|
||||
|
||||
return namespace
|
||||
|
||||
Loading…
Reference in New Issue
Block a user