enable the ram cache slider in invokeai-configure

This commit is contained in:
Lincoln Stein
2023-10-12 23:04:16 -04:00
parent d2149a8380
commit 29c3f49182
2 changed files with 3 additions and 3 deletions

View File

@ -662,7 +662,7 @@ def default_ramcache() -> float:
def default_startup_options(init_file: Path) -> Namespace:
opts = InvokeAIAppConfig.get_config()
opts.ram = default_ramcache()
opts.ram = opts.ram or default_ramcache()
return opts