fix models path

This commit is contained in:
Vladimir Mandic
2023-05-18 10:17:39 -04:00
parent 22a9e70150
commit df1fae7248
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ def checkpoint_tiles():
def list_models():
global model_path # pylint: disable=global-statement
model_path = shared.cmd_opts.models_dir
model_path = os.path.join(shared.cmd_opts.models_dir, 'Stable-diffusion')
checkpoints_list.clear()
checkpoint_aliases.clear()
model_list = modelloader.load_models(model_path=model_path, model_url=None, command_path=shared.opts.ckpt_dir, ext_filter=[".ckpt", ".safetensors"], download_name=None, ext_blacklist=[".vae.ckpt", ".vae.safetensors"])