mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-10 22:07:19 +08:00
Update type hint to reflect actual usage.
This commit is contained in:
parent
9c9a8532b2
commit
74325a5ecf
@ -9,7 +9,7 @@ from collections.abc import Collection
|
|||||||
|
|
||||||
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
|
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
|
||||||
|
|
||||||
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
|
folder_names_and_paths: dict[str, tuple[list[str], set[str] | list[str]]] = {}
|
||||||
|
|
||||||
base_path = os.path.dirname(os.path.realpath(__file__))
|
base_path = os.path.dirname(os.path.realpath(__file__))
|
||||||
models_dir = os.path.join(base_path, "models")
|
models_dir = os.path.join(base_path, "models")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user