Skip to content

Commit d00632b

Browse files
committed
Update HelperImage.swift
1 parent c8718f6 commit d00632b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import AppKit
1818
/// - toSize: Fit to size
1919
/// - Returns: NSImage
2020
@available(macOS 13.1, *)
21-
@MainActor
2221
public func getNSImage(from data : Data?, cropped toSize : NSSize? = nil) async -> NSImage? {
2322

2423
guard let value = data else{

0 commit comments

Comments
 (0)