Skip to content

Self-hosted AI workspace.

Python
1015 B
Raw Blame
// 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"),
            ]
        ),
    ]
)