mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix repo-id for the Deliberate v5 model
prevent lora and embedding file suffixes from being stripped during installation apply psychedelicious patch to get compel to load proper TI embedding
This commit is contained in:
parent
3312dcc58f
commit
dd7fc680bf
@ -154,8 +154,12 @@ class ModelInstallService(ModelInstallServiceBase):
|
|||||||
|
|
||||||
info: AnyModelConfig = self._probe_model(Path(model_path), config)
|
info: AnyModelConfig = self._probe_model(Path(model_path), config)
|
||||||
old_hash = info.current_hash
|
old_hash = info.current_hash
|
||||||
|
|
||||||
|
if preferred_name := config.get("name"):
|
||||||
|
preferred_name = Path(preferred_name).with_suffix(model_path.suffix)
|
||||||
|
|
||||||
dest_path = (
|
dest_path = (
|
||||||
self.app_config.models_path / info.base.value / info.type.value / (config.get("name") or model_path.name)
|
self.app_config.models_path / info.base.value / info.type.value / (preferred_name or model_path.name)
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
new_path = self._copy_model(model_path, dest_path)
|
new_path = self._copy_model(model_path, dest_path)
|
||||||
|
@ -34,7 +34,7 @@ sd-1/main/Analog-Diffusion:
|
|||||||
recommended: False
|
recommended: False
|
||||||
sd-1/main/Deliberate:
|
sd-1/main/Deliberate:
|
||||||
description: Versatile model that produces detailed images up to 768px (4.27 GB)
|
description: Versatile model that produces detailed images up to 768px (4.27 GB)
|
||||||
source: XpucT/Deliberate
|
source: stablediffusionapi/deliberate-v5
|
||||||
recommended: False
|
recommended: False
|
||||||
sd-1/main/Dungeons-and-Diffusion:
|
sd-1/main/Dungeons-and-Diffusion:
|
||||||
description: Dungeons & Dragons characters (2.13 GB)
|
description: Dungeons & Dragons characters (2.13 GB)
|
||||||
|
Loading…
Reference in New Issue
Block a user