From ffca1bda9eeca4f06dda6afd8b3b1d2bf21d297f Mon Sep 17 00:00:00 2001 From: Pedro Cuenca Date: Fri, 30 Dec 2022 11:11:07 +0100 Subject: [PATCH] Change path to cache. Without code-signing, the directory is created inside `Application Support` so better not to use a generic name. --- Diffusion/Pipeline/PipelineLoader.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Diffusion/Pipeline/PipelineLoader.swift b/Diffusion/Pipeline/PipelineLoader.swift index 1ad0e0d..08b6766 100644 --- a/Diffusion/Pipeline/PipelineLoader.swift +++ b/Diffusion/Pipeline/PipelineLoader.swift @@ -15,7 +15,7 @@ import ZIPFoundation import StableDiffusion class PipelineLoader { - static let models = Path.applicationSupport / "models" + static let models = Path.applicationSupport / "hf-diffusion-models" let url: URL private var downloadSubscriber: Cancellable?