mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
proposed fix to work on mps systems
This commit is contained in:
@ -154,6 +154,7 @@ def main_loop(gen, opt, infile):
|
||||
elif subcommand.startswith('switch'):
|
||||
model_name = command.replace('!switch ','',1)
|
||||
gen.set_model(model_name)
|
||||
completer.add_history(command)
|
||||
continue
|
||||
|
||||
elif subcommand.startswith('models'):
|
||||
|
Reference in New Issue
Block a user