From d00632ba63f7efcf9f0a124715debe09487e5a3b Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 25 Jul 2024 13:38:32 +0200 Subject: [PATCH] Update HelperImage.swift --- Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift b/Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift index 0f71236..78c4725 100644 --- a/Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift +++ b/Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift @@ -18,7 +18,6 @@ import AppKit /// - toSize: Fit to size /// - Returns: NSImage @available(macOS 13.1, *) -@MainActor public func getNSImage(from data : Data?, cropped toSize : NSSize? = nil) async -> NSImage? { guard let value = data else{