mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-16 02:33:21 -03:00
fix(loaders): correct random checkpoint loader return type annotation
load_checkpoint returns a 4-tuple (MODEL, CLIP, VAE, model_name) since the random loader exposes the selected model name; the annotation still claimed a 3-tuple.
This commit is contained in:
@@ -171,7 +171,7 @@ class RandomCheckpointLoaderLM:
|
|||||||
ckpt_name: str,
|
ckpt_name: str,
|
||||||
select_at_random: bool = False,
|
select_at_random: bool = False,
|
||||||
base_model: str = "Any",
|
base_model: str = "Any",
|
||||||
) -> Tuple[Any, Any, Any]:
|
) -> Tuple[Any, Any, Any, str]:
|
||||||
"""Load a checkpoint by name, supporting extra folder paths
|
"""Load a checkpoint by name, supporting extra folder paths
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|||||||
Reference in New Issue
Block a user