From f54ec070927987ff2c67082ad684ae53011d18aa Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 9 Dec 2023 16:41:27 +0900 Subject: [PATCH] Update pipeline_utils.py extention -> extension --- DeepCache/sd/pipeline_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeepCache/sd/pipeline_utils.py b/DeepCache/sd/pipeline_utils.py index aab22ac..6d0704b 100644 --- a/DeepCache/sd/pipeline_utils.py +++ b/DeepCache/sd/pipeline_utils.py @@ -165,7 +165,7 @@ def is_safetensors_compatible(filenames, variant=None, passed_components=None) - sf_filenames.add(filename) for filename in pt_filenames: - # filename = 'foo/bar/baz.bam' -> path = 'foo/bar', filename = 'baz', extention = '.bam' + # filename = 'foo/bar/baz.bam' -> path = 'foo/bar', filename = 'baz', extension = '.bam' path, filename = os.path.split(filename) filename, extension = os.path.splitext(filename)