Skip to content

Commit d7fa47e

Browse files
committed
Update OpenAIDefaultLoader.swift
1 parent a4606f7 commit d7fa47e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/openai-async-image-swiftui/viewModel/OpenAIDefaultLoader.swift

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Created by Igor on 28.02.2023.
66
//
77

8+
import SwiftUI
89
import async_http_client
910

1011
#if os(iOS)
@@ -15,8 +16,6 @@ import UIKit.UIImage
1516
import AppKit.NSImage
1617
#endif
1718

18-
import SwiftUI
19-
2019
@available(iOS 15.0, macOS 12.0, *)
2120
public final class OpenAIDefaultLoader : IOpenAILoader{
2221

@@ -65,7 +64,6 @@ public final class OpenAIDefaultLoader : IOpenAILoader{
6564
}
6665

6766
return try imageBase64(from: result.value)
68-
6967
}
7068

7169
/// Decode base64 to Data

0 commit comments

Comments
 (0)