mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-01 19:18:35 -04:00
31 lines
1015 B
Swift
31 lines
1015 B
Swift
// swift-tools-version: 6.2
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "odysseus-mlx-image-bridge",
|
|
platforms: [.macOS(.v26)],
|
|
products: [
|
|
.executable(name: "odysseus-mlx-inpaint", targets: ["OdysseusMLXInpaint"]),
|
|
.executable(name: "odysseus-mlx-colorize", targets: ["OdysseusMLXColorize"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/xocialize/mlx-lama-swift", branch: "main"),
|
|
.package(url: "https://github.com/xocialize/mlx-ddcolor-swift", branch: "main"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "OdysseusMLXInpaint",
|
|
dependencies: [
|
|
.product(name: "LaMa", package: "mlx-lama-swift"),
|
|
.product(name: "MIGAN", package: "mlx-lama-swift"),
|
|
]
|
|
),
|
|
.executableTarget(
|
|
name: "OdysseusMLXColorize",
|
|
dependencies: [
|
|
.product(name: "DDColor", package: "mlx-ddcolor-swift"),
|
|
]
|
|
),
|
|
]
|
|
)
|