initial commmit

This commit is contained in:
Goekdeniz-Guelmez 2025-03-13 09:40:35 +01:00
parent 0e9c6212de
commit f5f8d45eaa

View File

@ -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