use heuristic to select RAM cache size during headless install; blackified

This commit is contained in:
Lincoln Stein
2023-09-25 19:18:58 -04:00
committed by Kent Keirsey
parent 0c97a1e7e7
commit d59e534cad
10 changed files with 39 additions and 40 deletions

View File

@ -344,12 +344,12 @@ class InvokeAiInstance:
auto_install = True
sys.argv = new_argv
import requests # to catch download exceptions
import messages
import requests # to catch download exceptions
auto_install = auto_install or messages.user_wants_auto_configuration()
if auto_install:
sys.argv.append('--yes')
sys.argv.append("--yes")
else:
messages.introduction()