You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
465 B

// Copyright (c) seasonjs. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//go:build darwin
package sd
import (
_ "embed" // Needed for go:embed
)
//go:embed deps/darwin/libsd-abi.dylib
var libStableDiffusion []byte
var libName = "libstable-diffusion-*.dylib"
func getDl(gpu bool) []byte {
if gpu {
panic("Not support darwin. Push request is welcome.")
}
return libStableDiffusion
}