Skip to content

Commit

Permalink
Remove old IP-adapter location #352
Browse files Browse the repository at this point in the history
- it seems like it no longer works
- will re-download to the new location for those who have an old version
- should clean itself up with the next comfy update since the old location won't be migrated
  • Loading branch information
Acly committed Jan 25, 2024
1 parent 8aea75d commit ccd80c0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion ai_diffusion/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Generative AI plugin for Krita using Stable Diffusion"""

__version__ = "1.13.0"
__version__ = "1.13.1"

import importlib.util

Expand Down
6 changes: 0 additions & 6 deletions ai_diffusion/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ def exists_in(self, path: Path):
"models/ipadapter/ip-adapter_sd15.safetensors"
): "https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.safetensors"
},
alternatives=[
Path("custom_nodes/ComfyUI_IPAdapter_plus/models/ip-adapter_sd15.safetensors")
],
),
ModelResource(
"IP-Adapter (SDXL)",
Expand All @@ -225,9 +222,6 @@ def exists_in(self, path: Path):
"models/ipadapter/ip-adapter_sdxl_vit-h.safetensors"
): "https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter_sdxl_vit-h.safetensors",
},
alternatives=[
Path("custom_nodes/ComfyUI_IPAdapter_plus/models/ip-adapter_sdxl_vit-h.safetensors")
],
),
ModelResource(
"LCM-LoRA (SD1.5)",
Expand Down
1 change: 0 additions & 1 deletion ai_diffusion/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ def info(message: str):
upgrade_comfy_dir = upgrade_dir / "ComfyUI"
keep_paths = [
Path("models"),
Path("custom_nodes", "ComfyUI_IPAdapter_plus", "models"),
Path("custom_nodes", "comfyui_controlnet_aux", "ckpts"),
Path("extra_model_paths.yaml"),
]
Expand Down

0 comments on commit ccd80c0

Please sign in to comment.