From 74325a5ecf7b52c0f6ef2bb775939ca668225c5a Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sun, 26 Jan 2025 02:15:02 +1100 Subject: [PATCH] Update type hint to reflect actual usage. --- folder_paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folder_paths.py b/folder_paths.py index b6561a94c..f3d96ecfc 100644 --- a/folder_paths.py +++ b/folder_paths.py @@ -9,7 +9,7 @@ from collections.abc import Collection 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__)) models_dir = os.path.join(base_path, "models")