2 Commits

Author SHA1 Message Date
lllyasviel
f11456e2d3 Update README.md 2024-02-04 19:05:50 -08:00
lllyasviel
049020f3c5 smaller default model 2024-02-04 18:54:50 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -668,4 +668,4 @@ Other extensions should work without problems, like:
However, if newer extensions use Forge, their codes can be much shorter.
Usually if an old extension can rework using Forge's unet patcher, 80% codes can be removed, especially when they need to call controlnet.
Usually if an old extension rework using Forge's unet patcher, 80% codes can be removed, especially when they need to call controlnet.

View File

@@ -157,9 +157,9 @@ def list_models():
if shared.cmd_opts.no_download_sd_model or cmd_ckpt != shared.sd_model_file or os.path.exists(cmd_ckpt):
model_url = None
else:
model_url = "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors"
model_url = "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/realisticVisionV51_v51VAE.safetensors"
model_list = modelloader.load_models(model_path=model_path, model_url=model_url, command_path=shared.cmd_opts.ckpt_dir, ext_filter=[".ckpt", ".safetensors"], download_name="v1-5-pruned-emaonly.safetensors", ext_blacklist=[".vae.ckpt", ".vae.safetensors"])
model_list = modelloader.load_models(model_path=model_path, model_url=model_url, command_path=shared.cmd_opts.ckpt_dir, ext_filter=[".ckpt", ".safetensors"], download_name="realisticVisionV51_v51VAE.safetensors", ext_blacklist=[".vae.ckpt", ".vae.safetensors"])
if os.path.exists(cmd_ckpt):
checkpoint_info = CheckpointInfo(cmd_ckpt)