mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
fix: Update from_civitai flag to True in metadata creation for checkpoints and LoraMetadata. Fixes #238
This commit is contained in:
@@ -200,7 +200,7 @@ class MetadataManager:
|
|||||||
tags=[],
|
tags=[],
|
||||||
modelDescription="",
|
modelDescription="",
|
||||||
model_type="checkpoint",
|
model_type="checkpoint",
|
||||||
from_civitai=False
|
from_civitai=True
|
||||||
)
|
)
|
||||||
else: # Default to LoraMetadata
|
else: # Default to LoraMetadata
|
||||||
metadata = model_class(
|
metadata = model_class(
|
||||||
@@ -214,7 +214,7 @@ class MetadataManager:
|
|||||||
preview_url=normalize_path(preview_url),
|
preview_url=normalize_path(preview_url),
|
||||||
tags=[],
|
tags=[],
|
||||||
modelDescription="",
|
modelDescription="",
|
||||||
from_civitai=False,
|
from_civitai=True,
|
||||||
usage_tips="{}"
|
usage_tips="{}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user