From 4caa5e302767aca204147870b1498fee103a04de Mon Sep 17 00:00:00 2001 From: Wanaldino Antimonio Date: Sat, 24 Dec 2022 18:27:04 +0100 Subject: [PATCH] Reverted identation change --- .../pipeline/StableDiffusionPipeline.swift | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift b/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift index d918751..ea65472 100644 --- a/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift +++ b/swift/StableDiffusion/pipeline/StableDiffusionPipeline.swift @@ -55,13 +55,11 @@ public struct StableDiffusionPipeline: ResourceManaging { /// - safetyChecker: Optional model for checking safety of generated images /// - reduceMemory: Option to enable reduced memory mode /// - Returns: Pipeline ready for image generation - public init( - textEncoder: TextEncoder, - unet: Unet, - decoder: Decoder, - safetyChecker: SafetyChecker? = nil, - reduceMemory: Bool = false - ) { + public init(textEncoder: TextEncoder, + unet: Unet, + decoder: Decoder, + safetyChecker: SafetyChecker? = nil, + reduceMemory: Bool = false) { self.textEncoder = textEncoder self.unet = unet self.decoder = decoder