Skip to content

Commit f17047c

Browse files
authored
swift-format (#301)
1 parent 425333c commit f17047c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Applications/MLXChatExample/Support/HubApi+default.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import Foundation
1212
extension HubApi {
1313
/// Default HubApi instance configured to download models to the user's Downloads directory
1414
/// under a 'huggingface' subdirectory.
15-
#if os(macOS)
16-
static let `default` = HubApi(
17-
downloadBase: URL.downloadsDirectory.appending(path: "huggingface")
18-
)
19-
#else
20-
static let `default` = HubApi(
21-
downloadBase: URL.cachesDirectory.appending(path: "huggingface")
22-
)
23-
#endif
15+
#if os(macOS)
16+
static let `default` = HubApi(
17+
downloadBase: URL.downloadsDirectory.appending(path: "huggingface")
18+
)
19+
#else
20+
static let `default` = HubApi(
21+
downloadBase: URL.cachesDirectory.appending(path: "huggingface")
22+
)
23+
#endif
2424
}

0 commit comments

Comments
 (0)