File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Applications/MLXChatExample/Support Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ import Foundation
1212extension 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}
You can’t perform that action at this time.
0 commit comments