File tree Expand file tree Collapse file tree
.swiftpm/xcode/xcshareddata/xcschemes
Sources/Huggingface.Inference Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 selectedLauncherIdentifier = " Xcode.DebuggerFoundation.Launcher.LLDB"
2929 shouldUseLaunchSchemeArgsEnv = " YES"
3030 shouldAutocreateTestPlan = " YES" >
31+ <Testables >
32+ <TestableReference
33+ skipped = " NO" >
34+ <BuildableReference
35+ BuildableIdentifier = " primary"
36+ BlueprintIdentifier = " Huggingface.Swift.Tests"
37+ BuildableName = " Huggingface.Swift.Tests"
38+ BlueprintName = " Huggingface.Swift.Tests"
39+ ReferencedContainer = " container:" >
40+ </BuildableReference >
41+ </TestableReference >
42+ </Testables >
3143 </TestAction >
3244 <LaunchAction
3345 buildConfiguration = " Debug"
Original file line number Diff line number Diff line change @@ -12,7 +12,12 @@ let package = Package(
1212 products: [
1313 . library(
1414 name: " Huggingface.Swift " ,
15- targets: [ " Huggingface.Inference " ] ) ,
15+ targets: [ " Huggingface.Inference " ]
16+ ) ,
17+ . library(
18+ name: " Huggingface.Inference " ,
19+ targets: [ " Huggingface.Inference " ]
20+ ) ,
1621 ] ,
1722 targets: [
1823 . target(
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class HfInference {
1212
1313 let log : LoggerProtocol
1414
15- init (
15+ public init (
1616 accessToken: String = " " ,
1717 fetch: FetchProtocol ,
1818 logLevel: LogLevel = . info
@@ -24,7 +24,7 @@ public class HfInference {
2424 self . metadata = HuggingfaceModelsMetdataManager ( fetch: fetch)
2525 }
2626
27- convenience init (
27+ public convenience init (
2828 accessToken: String = " " ,
2929 session: URLSession = URLSession . shared,
3030 logLevel: LogLevel = . info
You can’t perform that action at this time.
0 commit comments