mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-23 14:32:25 +00:00
11 lines
306 B
Go
11 lines
306 B
Go
//go:build !stablediffusion
|
|
// +build !stablediffusion
|
|
|
|
package stablediffusion
|
|
|
|
import "fmt"
|
|
|
|
func GenerateImage(height, width, mode, step, seed int, positive_prompt, negative_prompt, dst, asset_dir string) error {
|
|
return fmt.Errorf("This version of LocalAI was built without the stablediffusion tag")
|
|
}
|