diff --git a/installer/installer.py b/installer/installer.py index 5a16de8d9d..7cca74f437 100644 --- a/installer/installer.py +++ b/installer/installer.py @@ -355,7 +355,10 @@ class InvokeAiInstance: ext = "bat" if OS == "Windows" else "sh" - for script in ["invoke", "update"]: + #scripts = ['invoke', 'update'] + scripts = ['invoke'] + + for script in scripts: src = Path(__file__).parent / "templates" / f"{script}.{ext}.in" dest = self.runtime / f"{script}.{ext}" shutil.copy(src, dest) diff --git a/ldm/generate.py b/ldm/generate.py index f3ad325409..c421a52802 100644 --- a/ldm/generate.py +++ b/ldm/generate.py @@ -847,7 +847,7 @@ class Generate: # the model cache does the loading and offloading cache = self.model_manager if not cache.valid_model(model_name): - raise KeyError('** "{model_name}" is not a known model name. Cannot change.') + raise KeyError(f'** "{model_name}" is not a known model name. Cannot change.') cache.print_vram_usage()