mirror of https://gitee.com/godoos/godoos.git
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
456 B
22 lines
456 B
// Copyright (c) seasonjs. All rights reserved.
|
|
// Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
|
//go:build linux
|
|
|
|
package sd
|
|
|
|
import (
|
|
_ "embed" // Needed for go:embed
|
|
)
|
|
|
|
//go:embed deps/linux/libsd-abi.so
|
|
var libStableDiffusion []byte
|
|
|
|
var libName = "libstable-diffusion-*.so"
|
|
|
|
func getDl(gpu bool) []byte {
|
|
if gpu {
|
|
panic("Not support linux. Push request is welcome.")
|
|
}
|
|
return libStableDiffusion
|
|
}
|
|
|