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")